From e36eb1999794bd71e76482b92a0b0b20f49d0032 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 05 三月 2021 19:37:03 +0800 Subject: [PATCH] 2021-03-05 --- src/templates/sharecomponent/settingcalcomponent/index.jsx | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/templates/sharecomponent/settingcalcomponent/index.jsx b/src/templates/sharecomponent/settingcalcomponent/index.jsx index 2f641c6..683b4a0 100644 --- a/src/templates/sharecomponent/settingcalcomponent/index.jsx +++ b/src/templates/sharecomponent/settingcalcomponent/index.jsx @@ -12,12 +12,11 @@ static propTpyes = { config: PropTypes.any, MenuID: PropTypes.string, - tableFields: PropTypes.any, updateConfig: PropTypes.func } state = { - dict: localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS, + dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS, sourcelist: [], visible: false, loading: false, @@ -76,7 +75,6 @@ <VerifyCard dict={dict} config={config} - tableFields={this.props.tableFields} menuId={this.props.config.uuid} searches={config.search} wrappedComponentRef={(inst) => this.verifyRef = inst} -- Gitblit v1.8.0