| | |
| | | const { Paragraph } = Typography |
| | | |
| | | const MenuForm = asyncComponent(() => import('./menuform')) |
| | | const Debug = asyncComponent(() => import('@/menu/debug')) |
| | | const Header = asyncComponent(() => import('@/menu/header')) |
| | | const PopView = asyncComponent(() => import('@/views/menudesign/popview')) |
| | | const Transfer = asyncComponent(() => import('@/pc/transfer')) |
| | |
| | | <Button type="primary" className={needUpdate ? 'update-tip' : ''} id="save-config" onClick={this.submitConfig} loading={menuloading}>保存</Button> |
| | | {config ? <Switch className="big" checkedChildren="启" unCheckedChildren="停" checked={config.enabled} onChange={this.onEnabledChange} /> : null} |
| | | <ArrowLeftOutlined title="后退" className="back-view" onClick={this.backView}/> |
| | | {config ? <Debug config={config}/> : null} |
| | | <Button className="mk-border-purple" onClick={() => this.setState({eyeopen: !eyeopen})}>{!eyeopen ? <EyeOutlined /> : <EyeInvisibleOutlined />} 组件名</Button> |
| | | <CreateView resetmenu={this.getAppMenus} /> |
| | | <PasteController insert={this.insert} /> |