From afb39f8ab004b2607bb718edab02e99c7a010114 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 22 三月 2023 14:36:44 +0800 Subject: [PATCH] 2023-03-22 --- src/templates/modalconfig/source.jsx | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/templates/modalconfig/source.jsx b/src/templates/modalconfig/source.jsx index c437d38..58be363 100644 --- a/src/templates/modalconfig/source.jsx +++ b/src/templates/modalconfig/source.jsx @@ -1,8 +1,4 @@ import Utils from '@/utils/utils.js' -import zhCN from '@/locales/zh-CN/model.js' -import enUS from '@/locales/en-US/model.js' - -const CommonDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS export const BaseConfig = { type: 'Modal', @@ -76,17 +72,17 @@ export const SearchItems = [ { type: 'form', - label: CommonDict['model.form.text'], + label: '鏂囨湰', subType: 'text', }, { type: 'form', - label: CommonDict['model.form.number'], + label: '鏁板瓧', subType: 'number', }, { type: 'form', - label: CommonDict['model.form.select'], + label: '涓嬫媺閫夋嫨', subType: 'select', }, { @@ -96,12 +92,12 @@ }, { type: 'form', - label: CommonDict['model.form.multiselect'], + label: '涓嬫媺澶氶��', subType: 'multiselect', }, { type: 'form', - label: CommonDict['model.form.link'], + label: '鑱斿姩鑿滃崟', subType: 'link', }, { @@ -136,7 +132,7 @@ }, { type: 'form', - label: CommonDict['model.form.datemonth'], + label: '鏃ユ湡锛堟湀锛�', subType: 'datemonth', }, { @@ -151,7 +147,7 @@ }, { type: 'form', - label: CommonDict['model.form.color'], + label: '棰滆壊', subType: 'color', }, { @@ -161,7 +157,7 @@ }, { type: 'form', - label: CommonDict['header.form.funcvar'], + label: '鍑芥暟鍙橀噺', subType: 'funcvar', }, { @@ -183,6 +179,11 @@ type: 'form', label: '鍏紡', subType: 'formula', + }, + { + type: 'form', + label: '楠岃瘉鐮�', + subType: 'vercode', } ] -- Gitblit v1.8.0