From e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 17 十月 2022 17:57:34 +0800
Subject: [PATCH] 2022-10-17

---
 src/menu/components/form/formaction/formconfig.jsx |   37 ++++++++++++++++---------------------
 1 files changed, 16 insertions(+), 21 deletions(-)

diff --git a/src/menu/components/form/formaction/formconfig.jsx b/src/menu/components/form/formaction/formconfig.jsx
index f27f8b5..5295788 100644
--- a/src/menu/components/form/formaction/formconfig.jsx
+++ b/src/menu/components/form/formaction/formconfig.jsx
@@ -1,8 +1,3 @@
-import zhCN from '@/locales/zh-CN/model.js'
-import enUS from '@/locales/en-US/model.js'
-
-const Formdict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
-
 /**
  * @description 鑾峰彇琛ㄥ崟鎸夐挳閰嶇疆淇℃伅
  * @param {*} card           缂栬緫鎸夐挳
@@ -63,18 +58,18 @@
     {
       type: 'radio',
       key: 'intertype',
-      label: Formdict['header.form.intertype'],
+      label: '鎺ュ彛绫诲瀷',
       initVal: card.intertype || 'system',
       required: true,
       options: [{
         value: 'system',
-        text: Formdict['model.interface.system']
+        text: '绯荤粺'
       }, {
         value: 'inner',
-        text: Formdict['model.interface.inner']
+        text: '鍐呴儴'
       }, {
         value: 'outer',
-        text: Formdict['model.interface.outer']
+        text: '澶栭儴'
       }, {
         value: 'custom',
         text: '鑷畾涔�'
@@ -100,31 +95,31 @@
     {
       type: 'radio',
       key: 'sqlType',
-      label: Formdict['header.form.action.type'],
+      label: '鎿嶄綔绫诲瀷',
       initVal: card.sqlType || '',
       required: true,
       options: [{
         value: 'insert',
-        text: Formdict['header.form.action.insert']
+        text: '娣诲姞'
       }, {
         value: 'update',
-        text: Formdict['header.form.action.update']
+        text: '淇敼'
       }, {
         value: 'audit',
-        text: Formdict['header.form.action.audit']
+        text: '瀹℃牳'
       }]
     },
     {
       type: 'text',
       key: 'sql',
-      label: Formdict['model.form.tablename'],
+      label: '琛ㄥ悕',
       initVal: card.sql || tableName || '',
       required: true
     },
     {
       type: 'text',
       key: 'innerFunc',
-      label: Formdict['header.form.innerFunc'],
+      label: '鍐呴儴鍑芥暟',
       initVal: card.innerFunc || '',
       tooltip: functip,
       fields: usefulFields,
@@ -143,28 +138,28 @@
     {
       type: 'text',
       key: 'url',
-      label: Formdict['model.pageUrl'],
+      label: '椤甸潰鍦板潃',
       initVal: card.url || '',
       required: true
     },
     {
       type: 'radio',
       key: 'sysInterface',
-      label: Formdict['header.form.sysInterface'],
+      label: '绯荤粺鎺ュ彛',
       initVal: card.sysInterface || 'false',
       required: true,
       options: [{
         value: 'true',
-        text: Formdict['model.true']
+        text: '鏄�'
       }, {
         value: 'false',
-        text: Formdict['model.false']
+        text: '鍚�'
       }]
     },
     {
       type: 'text',
       key: 'outerFunc',
-      label: Formdict['header.form.outerFunc'],
+      label: '澶栭儴鍑芥暟',
       initVal: card.outerFunc || '',
       required: false,
       readonly: false
@@ -245,7 +240,7 @@
     {
       type: 'text',
       key: 'callbackFunc',
-      label: Formdict['header.form.callbackFunc'],
+      label: '鍥炶皟鍑芥暟',
       initVal: card.callbackFunc || '',
       required: true,
       readonly: false

--
Gitblit v1.8.0