From 944730f2794b87aa053f53084f0d082d4af6fd41 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 29 十月 2020 19:03:30 +0800 Subject: [PATCH] 2020-10-29 --- src/menu/components/card/cardcellcomponent/formconfig.jsx | 34 ++++++++++++++++++---------------- 1 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/menu/components/card/cardcellcomponent/formconfig.jsx b/src/menu/components/card/cardcellcomponent/formconfig.jsx index 312db9d..195c5f4 100644 --- a/src/menu/components/card/cardcellcomponent/formconfig.jsx +++ b/src/menu/components/card/cardcellcomponent/formconfig.jsx @@ -1,7 +1,7 @@ -// import zhCN from '@/locales/zh-CN/model.js' -// import enUS from '@/locales/en-US/model.js' +import zhCN from '@/locales/zh-CN/model.js' +import enUS from '@/locales/en-US/model.js' -// const Formdict = localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS +const Formdict = localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS /** * @description 鑾峰彇鎸夐挳琛ㄥ崟閰嶇疆淇℃伅 @@ -105,12 +105,11 @@ required: true }, { - type: 'select', - key: 'labelfield', - label: '鎻愮ず瀛楁', - initVal: card.labelfield || '', - required: false, - options: [] + type: 'text', + key: 'label', + label: '鏄剧ず淇℃伅', + initVal: card.label || '', + required: false }, { type: 'text', @@ -199,14 +198,17 @@ }, { type: 'radio', - key: 'radius', - label: '鍦嗚', - initVal: card.radius || 'false', + key: 'joint', + label: Formdict['model.form.paramJoint'], + initVal: card.joint || 'true', required: false, - options: [ - { value: 'true', text: '鏈�' }, - { value: 'false', text: '鏃�' } - ] + options: [{ + value: 'true', + text: Formdict['model.true'] + }, { + value: 'false', + text: Formdict['model.false'] + }] }, ] -- Gitblit v1.8.0