From c7aece35a62b6e91fd98a625bf0e53f64bfbd18d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 17 八月 2023 16:22:15 +0800
Subject: [PATCH] 2023-08-17

---
 src/templates/sharecomponent/tabscomponent/index.jsx |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/templates/sharecomponent/tabscomponent/index.jsx b/src/templates/sharecomponent/tabscomponent/index.jsx
index 3db153a..1f0b602 100644
--- a/src/templates/sharecomponent/tabscomponent/index.jsx
+++ b/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,14 +382,14 @@
   }
 
   render() {
-    const { tabgroups, visible, dict } = this.state
+    const { tabgroups, visible } = this.state
 
     return (
       <div className="model-table-tab-list">
         {tabgroups.map((group, index) => {
           return (
             <div key={index} className="tab-line-list">
-              {index === 0 ? <Tooltip placement="bottomLeft" overlayClassName="middle" title={dict['model.tooltip.tabs.guide']}>
+              {index === 0 ? <Tooltip placement="bottomLeft" overlayClassName="middle" title="鍦ㄥ乏渚у伐鍏锋爮銆婃爣绛鹃〉銆嬩腑锛岄�夋嫨瀵瑰簲绫诲瀷鐨勬爣绛鹃〉鎷栬嚦姝ゅ娣诲姞銆�">
                 <QuestionCircleOutlined style={{color: '#c49f47', position: 'absolute', left: '5px', top: '20px'}} />
               </Tooltip> : null}
               {index !== (tabgroups.length - 1) ?
@@ -407,13 +404,12 @@
                 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>)
         })}
         {/* 鏍囩缂栬緫 */}
         <Modal
-          title={dict['header.modal.tabs.edit']}
+          title="鏍囩-缂栬緫"
           visible={visible}
           width={750}
           maskClosable={false}
@@ -422,7 +418,6 @@
           destroyOnClose
         >
           <TabForm
-            dict={dict}
             card={this.state.card}
             tabs={this.props.tabs}
             levels={this.state.levels}

--
Gitblit v1.8.0