| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import { is, fromJS } from 'immutable' |
| | | import { Icon, Modal, Tabs, message } from 'antd' |
| | | import { Modal, Tabs, message } 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 style={{display: 'inline-block'}}> |
| | | <Icon title="代码编辑" style={{color: 'purple'}} type="form" onClick={() => this.trigger()} /> |
| | | <FormOutlined title="代码编辑" style={{color: 'purple'}} onClick={() => this.trigger()} /> |
| | | <Modal |
| | | wrapClassName="popview-modal code-sand-box-code-editor" |
| | | title="内容编辑" |