| | |
| | | |
| | | const { Panel } = Collapse |
| | | const { confirm } = Modal |
| | | |
| | | const UpdateTable = asyncComponent(() => import('./updatetable')) |
| | | const ModalForm = asyncComponent(() => import('@/templates/zshare/modalform')) |
| | | const CreateFunc = asyncComponent(() => import('@/templates/zshare/createfunc')) |
| | | const VerifyCard = asyncComponent(() => import('@/templates/zshare/verifycard')) |
| | |
| | | } |
| | | return item |
| | | }) |
| | | |
| | | _config.btnId = btnTab.uuid |
| | | _config.btnName = btnTab.label |
| | | |
| | | this.setState({ |
| | | config: _config, |
| | |
| | | </div> |
| | | } bordered={false} extra={ |
| | | <div> |
| | | <UpdateTable config={config} menu={this.props.menu}/> |
| | | <Switch className="big" checkedChildren="启" unCheckedChildren="停" checked={this.state.config.enabled} onChange={this.onEnabledChange} /> |
| | | <Button type="primary" onClick={this.submitConfig} loading={this.state.menuloading}>保存</Button> |
| | | <Button onClick={this.cancelConfig}>返回</Button> |