src/menu/components/tabs/tabsetting/index.jsx
@@ -11,12 +11,11 @@ class DataSource extends Component { static propTpyes = { config: PropTypes.any, sysRoles: PropTypes.any, // 角色列表 updateConfig: PropTypes.func } state = { dict: localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS, dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS, visible: false, setting: null } @@ -70,7 +69,6 @@ <SettingForm dict={dict} setting={setting} sysRoles={this.props.sysRoles || []} inputSubmit={this.verifySubmit} wrappedComponentRef={(inst) => this.verifyRef = inst} />