From 94cd90e22facb0e75a6e255ce125aa4ea6aca260 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 10 十二月 2021 15:20:44 +0800 Subject: [PATCH] 2021-12-10 --- src/tabviews/zshare/actionList/index.jsx | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/src/tabviews/zshare/actionList/index.jsx b/src/tabviews/zshare/actionList/index.jsx index 3c7d4e1..f446b69 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)) -- Gitblit v1.8.0