king
2022-01-21 46f79b491173d284a4900d19e7aecf7509481438
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))
@@ -53,7 +49,6 @@
            BData={BData}
            setting={setting}
            columns={columns}
            position="toolbar"
            ContainerId={ContainerId}
            selectedData={selectedData}
          />
@@ -66,8 +61,8 @@
            BID={BID}
            Tab={Tab}
            btn={item}
            BData={BData}
            setting={setting}
            position="toolbar"
            selectedData={selectedData}
          />
        )
@@ -79,8 +74,8 @@
            BID={BID}
            Tab={Tab}
            btn={item}
            BData={BData}
            setting={setting}
            position="toolbar"
          />
        )
      } else if (item.OpenType === 'popview') {
@@ -93,7 +88,6 @@
            btn={item}
            BData={BData}
            setting={setting}
            position="toolbar"
            selectedData={selectedData}
          />
        )
@@ -103,9 +97,9 @@
            key={item.uuid}
            show={item.show || 'actionList'}
            btn={item}
            BData={BData}
            MenuID={MenuID}
            setting={setting}
            position="toolbar"
            selectedData={selectedData}
          />
        )
@@ -115,8 +109,8 @@
            key={item.uuid}
            show="actionList"
            btn={item}
            BData={BData}
            setting={setting}
            position="toolbar"
            selectedData={selectedData}
          />
        )
@@ -128,9 +122,9 @@
              show={item.show || 'actionList'}
              BID={BID}
              btn={item}
              BData={BData}
              MenuID={MenuID}
              setting={setting}
              position="toolbar"
              selectedData={selectedData}
            />
          )
@@ -144,7 +138,6 @@
              btn={item}
              BData={BData}
              setting={setting}
              position="toolbar"
              ContainerId={ContainerId}
              selectedData={selectedData}
            />