king
2021-11-17 c51f5e007a3e03c9d6731ab7f28f0080de009990
src/tabviews/zshare/actionList/tabbutton/index.jsx
@@ -22,6 +22,7 @@
  state = {
    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
    disabled: false,
    hidden: false,
    primaryId: ''
  }
@@ -36,7 +37,7 @@
          disabled = true
        }
      })
      this.setState({disabled})
      this.setState({disabled, hidden: disabled && btn.control === 'hidden'})
    }
  }
@@ -62,7 +63,7 @@
          }
        })
      }
      this.setState({disabled})
      this.setState({disabled, hidden: disabled && btn.control === 'hidden'})
    }
  }
@@ -167,7 +168,9 @@
  render() {
    const { btn, show } = this.props
    const { disabled } = this.state
    const { disabled, hidden } = this.state
    if (hidden) return null
    if (show === 'actionList') {
      return (