king
2023-07-18 a5c71db861ec548245200767cdbf24839ad2b866
src/tabviews/zshare/actionList/printbutton/index.jsx
@@ -533,7 +533,7 @@
      return Api.getSystemCacheConfig(param)
    }).then(result => {
      if (!result) {
      if (!result || result.ErrCode === 'LoginError') {
        this.setState({ loading: false })
        return
      }
@@ -1262,7 +1262,7 @@
      return Api.genericInterface(res)
    }).then(response => {
      if (!response) return
      if (!response || response.ErrCode === 'LoginError') return
      if (ver_token && response.ErrMesg === 'token_error') {
        this.execError(response)
@@ -1291,7 +1291,7 @@
        _resolve({next: false, list: []})
      }
    }).then(response => {
      if (!response) return
      if (!response || response.ErrCode === 'LoginError') return
      if (response.status) {
        _list.push(response)
@@ -1914,6 +1914,10 @@
    if (btn.execSuccess !== 'never') {
      MKEmitter.emit('refreshByButtonResult', btn.$menuId, btn.execSuccess, btn, '', this.state.selines)
    }
    if (btn.execSuccess === 'popclose' && btn.$tabId) { // 标签关闭刷新
      MKEmitter.emit('refreshPopButton', btn.$tabId)
    }
  }
  /**
@@ -2349,6 +2353,7 @@
    return <>
      <Button
        type={type}
        id={'button' + btn.uuid}
        title={disabled ? (btn.reason || '') : (btn.show === 'icon' ? btn.label : '')}
        loading={loading}
        disabled={disabled}