king
2023-07-18 a5c71db861ec548245200767cdbf24839ad2b866
2023-07-18
4个文件已修改
19 ■■■■ 已修改文件
src/tabviews/custom/components/card/prop-card/index.jsx 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/exceloutbutton/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/normalbutton/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/printbutton/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/card/prop-card/index.jsx
@@ -32,6 +32,7 @@
  }
  loaded = false
  autoTimer = null
  UNSAFE_componentWillMount () {
    const { data, initdata } = this.props
@@ -280,14 +281,23 @@
    }
  }
  autoExec = () => {
  autoExec = (times) => {
    const { config, data } = this.state
    if (!config.wrap.autoExec) return
    setTimeout(() => {
    let btn = document.getElementById('button' + config.wrap.autoExec)
    clearTimeout(this.autoTimer)
    if (btn) {
      MKEmitter.emit('triggerBtnId', config.wrap.autoExec, data.$$empty ? [] : [data])
    }, 200)
    } else if (!times || times < 20) {
      times = times ? times + 1 : 1
      this.autoTimer = setTimeout(() => {
        this.autoExec(times)
      }, 1000)
    }
  }
  checkTopLine = () => {
src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -1250,6 +1250,7 @@
    return (
      <Button
        type={type}
        id={'button' + btn.uuid}
        title={disabled ? (btn.reason || '') : (btn.show === 'icon' ? btn.label : '')}
        loading={loading}
        disabled={disabled}
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -3092,6 +3092,7 @@
      <Button
        type={type}
        icon={icon}
        id={'button' + btn.uuid}
        title={disabled ? (btn.reason || '') : (btn.show === 'icon' ? btn.label : '')}
        loading={loading}
        disabled={disabled}
src/tabviews/zshare/actionList/printbutton/index.jsx
@@ -2353,6 +2353,7 @@
    return <>
      <Button
        type={type}
        id={'button' + btn.uuid}
        title={disabled ? (btn.reason || '') : (btn.show === 'icon' ? btn.label : '')}
        loading={loading}
        disabled={disabled}