king
2023-07-11 061e2388d84fc545d01175ed6793ce8dea0e7338
src/templates/formtabconfig/index.jsx
@@ -28,6 +28,8 @@
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'))
@@ -128,6 +130,9 @@
      }
      return item
    })
    _config.btnId = btnTab.uuid
    _config.btnName = btnTab.label
    this.setState({
      config: _config,
@@ -1568,6 +1573,7 @@
              </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>