From e1034162a6c03a913b9a71df7bc28965d5891a85 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 02 八月 2023 14:37:50 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/tabviews/subtabtable/index.jsx |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/tabviews/subtabtable/index.jsx b/src/tabviews/subtabtable/index.jsx
index dfaae0f..50fe403 100644
--- a/src/tabviews/subtabtable/index.jsx
+++ b/src/tabviews/subtabtable/index.jsx
@@ -4,8 +4,6 @@
 import { notification, Spin, Modal } from 'antd'
 
 import Api from '@/api'
-import zhCN from '@/locales/zh-CN/main.js'
-import enUS from '@/locales/en-US/main.js'
 import Utils from '@/utils/utils.js'
 import UtilsDM from '@/utils/utils-datamanage.js'
 import { updateSubTabTable } from '@/utils/utils-update.js'
@@ -30,7 +28,6 @@
   }
 
   state = {
-    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
     loadingview: true,    // 椤甸潰鍔犺浇涓�
     viewlost: false,      // 椤甸潰涓㈠け锛�1銆佹湭鑾峰彇鍒伴厤缃�-椤甸潰涓㈠け锛�2銆侀〉闈㈡湭鍚敤
     lostmsg: '',          // 椤甸潰涓㈠け鏃剁殑鎻愮ず淇℃伅
@@ -89,7 +86,7 @@
         this.setState({
           loadingview: false,
           viewlost: true,
-          lostmsg: this.state.dict['main.view.unenabled']
+          lostmsg: '鎶辨瓑锛屾偍璁块棶鐨勯〉闈㈡湭鍚敤锛岃鑱旂郴绠$悊鍛樸��'
         })
         return
       }
@@ -701,7 +698,6 @@
             actions={actions}
             columns={columns}
             BID={this.props.BID}
-            dict={this.state.dict}
             BData={this.props.BData}
             selectedData={selectedData}
             MenuID={this.props.SupMenuID}
@@ -713,7 +709,6 @@
           columns={columns}
           pageSize={pageSize}
           data={this.state.data}
-          dict={this.state.dict}
           BData={this.props.BData}
           total={this.state.total}
           MenuID={this.props.MenuID}

--
Gitblit v1.8.0