From 46f79b491173d284a4900d19e7aecf7509481438 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 一月 2022 17:21:25 +0800 Subject: [PATCH] 2022-01-21 --- src/tabviews/zshare/actionList/index.jsx | 19 ++++++------------- 1 files changed, 6 insertions(+), 13 deletions(-) diff --git a/src/tabviews/zshare/actionList/index.jsx b/src/tabviews/zshare/actionList/index.jsx index 3c7d4e1..068783c 100644 --- a/src/tabviews/zshare/actionList/index.jsx +++ b/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} /> -- Gitblit v1.8.0