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 | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/templates/sharecomponent/settingcalcomponent/index.jsx b/src/templates/sharecomponent/settingcalcomponent/index.jsx index a5baeb0..683b4a0 100644 --- a/src/templates/sharecomponent/settingcalcomponent/index.jsx +++ b/src/templates/sharecomponent/settingcalcomponent/index.jsx @@ -12,13 +12,11 @@ static propTpyes = { config: PropTypes.any, MenuID: PropTypes.string, - tableFields: PropTypes.any, - permFuncField: 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, @@ -62,7 +60,7 @@ <div className="model-datasource"> <Icon type="setting" onClick={() => this.editDataSource()} /> <Modal - wrapClassName="model-datasource-verify-modal popview-modal" + wrapClassName="popview-modal" title={'鏁版嵁婧愰厤缃�'} visible={visible} width={'75vw'} @@ -77,8 +75,6 @@ <VerifyCard dict={dict} config={config} - tableFields={this.props.tableFields} - permFuncField={this.props.permFuncField} menuId={this.props.config.uuid} searches={config.search} wrappedComponentRef={(inst) => this.verifyRef = inst} -- Gitblit v1.8.0