| | |
| | | import Preview from '@/components/preview' |
| | | import TransferForm from '@/components/transferform' |
| | | import Utils from '@/utils/utils.js' |
| | | import DragElement from '../dragelement' |
| | | import DragElement from '../menuelement' |
| | | import MenuForm from '../menuform' |
| | | import ComTableConfig from '../comtableconfig' |
| | | import Api from '@/api' |
| | |
| | | this.setState({tabview: ''}) |
| | | } |
| | | |
| | | handleConfig = () => { |
| | | this.setState({tabview: ''}) |
| | | } |
| | | |
| | | UNSAFE_componentWillMount () { |
| | | previewList = null |
| | | this.getUsedTemplate() |
| | |
| | | </div> |
| | | </div>} |
| | | {this.state.tabview === 'CommonTable' && |
| | | <ComTableConfig config={this.state.menuConfig} /> |
| | | <ComTableConfig config={this.state.menuConfig} handleConfig={this.handleConfig} /> |
| | | } |
| | | {/* 图片预览 */} |
| | | <Preview cancel={this.cancelPrePicture} preview={this.state.preview}/> |