From e543372cc70a19ff2630c79d8421c2c593e54e5f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 02 六月 2021 17:15:21 +0800 Subject: [PATCH] 2021-06-02 --- src/templates/modalconfig/source.jsx | 51 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 49 insertions(+), 2 deletions(-) diff --git a/src/templates/modalconfig/source.jsx b/src/templates/modalconfig/source.jsx index 7cf801f..6e831de 100644 --- a/src/templates/modalconfig/source.jsx +++ b/src/templates/modalconfig/source.jsx @@ -2,7 +2,7 @@ import zhCN from '@/locales/zh-CN/model.js' import enUS from '@/locales/en-US/model.js' -const CommonDict = localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS +const CommonDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS export const BaseConfig = { type: 'Modal', @@ -17,7 +17,6 @@ display: 'modal' }, tables: [], - groups: [], fields: [ { origin: true, @@ -31,6 +30,8 @@ options: [], orderType: 'asc', decimal: 0, + span: 12, + labelwidth: 33.3, min: '', max: '', readonly: 'false', @@ -47,6 +48,8 @@ options: [], orderType: 'asc', decimal: 0, + span: 12, + labelwidth: 33.3, min: '', max: '', readonly: 'false', @@ -63,6 +66,8 @@ options: [], orderType: 'asc', decimal: 0, + span: 12, + labelwidth: 33.3, min: '', max: '', readonly: 'false', @@ -104,6 +109,30 @@ }, { type: 'form', + label: '寮�鍏�', + subType: 'switch', + url: '' + }, + { + type: 'form', + label: '澶氶�夋', + subType: 'checkbox', + url: '' + }, + { + type: 'form', + label: '鍗曢�夋', + subType: 'radio', + url: '' + }, + { + type: 'form', + label: '閫夐」鍗�', + subType: 'checkcard', + url: '' + }, + { + type: 'form', label: CommonDict['header.form.fileupload'], subType: 'fileupload', url: '' @@ -140,9 +169,27 @@ }, { type: 'form', + label: '瀵屾枃鏈�', + subType: 'brafteditor', + url: '' + }, + { + type: 'form', label: CommonDict['header.form.funcvar'], subType: 'funcvar', url: '' + }, + { + type: 'form', + label: '鎻愮ず', + subType: 'hint', + url: '' + }, + { + type: 'form', + label: '鍒嗗壊绾�', + subType: 'split', + url: '' } ] -- Gitblit v1.8.0