From 1a11f7115e61c548f9ffc77d0a9e504307ca71b2 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 24 八月 2021 18:37:20 +0800
Subject: [PATCH] 2021-08-24

---
 src/templates/formtabconfig/source.jsx |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/templates/formtabconfig/source.jsx b/src/templates/formtabconfig/source.jsx
index 90bd820..94de283 100644
--- a/src/templates/formtabconfig/source.jsx
+++ b/src/templates/formtabconfig/source.jsx
@@ -2,11 +2,11 @@
 import zhCN from '@/locales/zh-CN/model.js'
 import enUS from '@/locales/en-US/model.js'
 
-const CommonDict = (!localStorage.getItem('lang') || localStorage.getItem('lang') === 'zh-CN') ? zhCN : enUS
+const CommonDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
 
 class CommonTableBaseData {
   baseConfig = {
-    type: 'FormTab',
+    Template: 'FormTab',
     enabled: false,
     setting: {
       datatype: 'query',
@@ -63,7 +63,7 @@
         btnType: 'confirm',
         uuid: Utils.getuuid(),
         label: '纭畾',
-        intertype: 'inner',
+        intertype: 'system',
         innerFunc: '',
         interface: '',
         outerFunc: '',
@@ -73,7 +73,6 @@
         Ot: 'notRequired',
         execSuccess: 'grid',
         execError: 'never',
-        errorTime: 15,
         OpenType: 'exec',
         icon: '',
         class: 'border-primary',
@@ -84,7 +83,6 @@
         label: '鍏抽棴',
         execSuccess: 'grid',
         execError: 'never',
-        errorTime: 15,
         OpenType: 'exec',
         pageTemplate: '',
         url: '',
@@ -169,13 +167,13 @@
   actionItems = [
     {
       type: 'action',
-      label: CommonDict['header.form.prompt'],
+      label: CommonDict['model.form.prompt'],
       subType: 'prompt',
       url: ''
     },
     {
       type: 'action',
-      label: CommonDict['header.form.exec'],
+      label: CommonDict['model.form.exec'],
       subType: 'exec',
       url: ''
     }
@@ -184,7 +182,7 @@
   tabItems = [
     {
       type: 'tabs',
-      label: CommonDict['header.menu.tab.subtable'],
+      label: CommonDict['model.menu.tab.subtable'],
       subType: 'SubTable',
     }
   ]

--
Gitblit v1.8.0