king
2021-12-10 94cd90e22facb0e75a6e255ce125aa4ea6aca260
src/tabviews/zshare/actionList/index.jsx
@@ -4,8 +4,6 @@
import { Affix } from 'antd'
import asyncComponent from './asyncButtonComponent'
import zhCN from '@/locales/zh-CN/main.js'
import enUS from '@/locales/en-US/main.js'
import './index.scss'
const NormalButton = asyncComponent(() => import('./normalbutton'))
@@ -30,9 +28,7 @@
    ContainerId: PropTypes.any        // tab页面ID,用于弹窗控制
  }
  state = {
    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
  }
  state = {}
  shouldComponentUpdate (nextProps, nextState) {
    return !is(fromJS(this.props), fromJS(nextProps)) || !is(fromJS(this.state), fromJS(nextState))