king
2020-12-15 bc5ec1017fd8a140ec5c30ea9e8ea839d5bf1bda
src/menu/components/table/normal-table/columns/markcolumn/index.jsx
@@ -8,6 +8,8 @@
import MarkForm from './markform'
import './index.scss'
import { minkeIconSystem } from '@/utils/option.js'
import zhCN from '@/locales/zh-CN/model.js'
import enUS from '@/locales/en-US/model.js'
import '@/assets/css/table.scss'
const EditTable = asyncComponent(() => import('@/templates/zshare/editTable'))
@@ -15,12 +17,12 @@
class MarkColumn extends Component {
  static propTpyes = {
    columns: PropTypes.array,  // 显示列
    dict: PropTypes.object,    // 字典项
    marks: PropTypes.object,
    onSubmit: PropTypes.func
  }
  state = {
    dict: localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
    marks: null,
    columns: null,
    visible: false,
@@ -293,8 +295,7 @@
  }
  render() {
    const { dict } = this.props
    const { marks, markColumns, visible, options, signs } = this.state
    const { marks, markColumns, visible, options, signs, dict } = this.state
    return (
      <div style={{display: 'inline-block'}}>