| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import { is, fromJS } from 'immutable' |
| | | import { Icon, Modal } from 'antd' |
| | | import { Modal } from 'antd' |
| | | import { FormOutlined } from '@ant-design/icons' |
| | | |
| | | import zhCN from '@/locales/zh-CN/model.js' |
| | | import enUS from '@/locales/en-US/model.js' |
| | |
| | | |
| | | return ( |
| | | <div className="model-menu-edit-content-wrap"> |
| | | {config.wrap.datatype === 'static' ? <Icon title="内容编辑" type="form" onClick={() => this.trigger()} /> : null} |
| | | {config.wrap.datatype !== 'static' ? <Icon title="内容编辑" style={{color: '#eeeeee', cursor: 'not-allowed'}} type="form"/> : null} |
| | | {config.wrap.datatype === 'static' ? <FormOutlined title="内容编辑" onClick={() => this.trigger()} /> : |
| | | <FormOutlined title="内容编辑" style={{color: '#eeeeee', cursor: 'not-allowed'}}/>} |
| | | <Modal |
| | | wrapClassName="popview-modal model-menu-edit-content-form" |
| | | title="内容编辑" |