| | |
| | | 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, |
| | |
| | | <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} |