From a8507cc8c42d17d4fb854594dbf1e084d61912ac Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 18 十月 2022 12:44:22 +0800 Subject: [PATCH] 2022-10-18 --- src/mob/modalconfig/source.jsx | 17 ++++++----------- 1 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/mob/modalconfig/source.jsx b/src/mob/modalconfig/source.jsx index 5a1a31a..04ed6a4 100644 --- a/src/mob/modalconfig/source.jsx +++ b/src/mob/modalconfig/source.jsx @@ -1,18 +1,13 @@ -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 SearchItems = [ { type: 'form', - label: CommonDict['model.form.text'], + label: '鏂囨湰', subType: 'text', url: '' }, { type: 'form', - label: CommonDict['model.form.number'], + label: '鏁板瓧', subType: 'number', url: '' }, @@ -24,7 +19,7 @@ }, { type: 'form', - label: CommonDict['model.form.link'], + label: '鑱斿姩鑿滃崟', subType: 'link', url: '' }, @@ -66,13 +61,13 @@ }, { type: 'form', - label: CommonDict['model.form.datemonth'], + label: '鏃ユ湡锛堟湀锛�', subType: 'datemonth', url: '' }, { type: 'form', - label: CommonDict['model.form.textarea'], + label: '澶氳鏂囨湰', subType: 'textarea', url: '' }, @@ -89,7 +84,7 @@ }, { type: 'form', - label: CommonDict['header.form.funcvar'], + label: '鍑芥暟鍙橀噺', subType: 'funcvar', url: '' }, -- Gitblit v1.8.0