king
2022-10-17 e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5
src/templates/sharecomponent/tabscomponent/index.jsx
@@ -5,8 +5,6 @@
import { QuestionCircleOutlined, ArrowDownOutlined, ArrowUpOutlined, PlusOutlined, DeleteOutlined } from '@ant-design/icons'
import Utils from '@/utils/utils.js'
import zhCN from '@/locales/zh-CN/model.js'
import enUS from '@/locales/en-US/model.js'
import { getTabForm } from '@/templates/zshare/formconfig'
import TabForm from './tabform'
@@ -24,7 +22,6 @@
  }
  state = {
    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
    tabgroups: [],     // 标签组
    card: [],          // 编辑标签
    group: [],         // 编辑组
@@ -385,7 +382,7 @@
  }
  render() {
    const { tabgroups, visible, dict } = this.state
    const { tabgroups, visible } = this.state
    return (
      <div className="model-table-tab-list">
@@ -407,7 +404,6 @@
                handleMenu={(card) => this.handleTab(card, group)}
                deleteMenu={(card) => this.deleteElement(card, group)}
                doubleClickCard={this.props.setSubConfig}
                placeholder={dict['form.required.add'] + dict['model.form.tab']}
              />
            </div>)
        })}
@@ -422,7 +418,6 @@
          destroyOnClose
        >
          <TabForm
            dict={dict}
            card={this.state.card}
            tabs={this.props.tabs}
            levels={this.state.levels}