king
2022-10-17 e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5
src/menu/components/editor/braft-editor/editorcontent/index.jsx
@@ -4,8 +4,6 @@
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'
import asyncComponent from '@/utils/asyncComponent'
import './index.scss'
@@ -18,7 +16,6 @@
  }
  state = {
    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
    visible: false,
    html: null
  }
@@ -54,7 +51,7 @@
  render () {
    const { config } = this.props
    const { visible, dict, html } = this.state
    const { visible, html } = this.state
    if (!config) return null
@@ -68,7 +65,7 @@
          visible={visible}
          width={950}
          maskClosable={false}
          okText={dict['model.submit']}
          okText="提交"
          onOk={this.verifySubmit}
          onCancel={() => { this.setState({ visible: false }) }}
          destroyOnClose