king
2022-10-17 e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5
src/components/normalform/index.jsx
@@ -3,8 +3,6 @@
import { is, fromJS } from 'immutable'
import { Modal } from 'antd'
import zhCN from '@/locales/zh-CN/model.js'
import enUS from '@/locales/en-US/model.js'
import ModalForm from './modalform'
class NormalFormComponent extends Component {
@@ -17,7 +15,6 @@
  }
  state = {
    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
    visible: false,
    formlist: []
  }
@@ -62,7 +59,7 @@
  render () {
    const { title, width, children, double } = this.props
    const { visible, dict, formlist } = this.state
    const { visible, formlist } = this.state
    return (
      <>
@@ -73,7 +70,7 @@
          visible={visible}
          width={width}
          maskClosable={false}
          okText={dict['model.confirm']}
          okText="确定"
          onOk={this.submit}
          onCancel={this.cancel}
          destroyOnClose