king
2022-10-17 e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5
src/pc/components/navbar/normal-navbar/linksetting/index.jsx
@@ -4,8 +4,6 @@
import { Modal } from 'antd'
import { LinkOutlined } from '@ant-design/icons'
import zhCN from '@/locales/zh-CN/model.js'
import enUS from '@/locales/en-US/model.js'
import LinkTable from './linktable'
import './index.scss'
@@ -16,7 +14,6 @@
  }
  state = {
    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
    visible: false
  }
@@ -33,7 +30,7 @@
  render () {
    const { config } = this.props
    const { visible, dict } = this.state
    const { visible } = this.state
    return (
      <div className="model-link-setting-wrap">
@@ -44,7 +41,7 @@
          visible={visible}
          width={950}
          maskClosable={false}
          okText={dict['model.submit']}
          okText="提交"
          onOk={this.verifySubmit}
          onCancel={() => { this.setState({ visible: false }) }}
          destroyOnClose