From 31ec63f0419895876cbaba99637a884a32d33d0d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 01 九月 2021 10:31:45 +0800 Subject: [PATCH] 2021-09-01 --- src/menu/components/card/cardcellcomponent/formconfig.jsx | 37 ++++++++++++++++++++++++------------- 1 files changed, 24 insertions(+), 13 deletions(-) diff --git a/src/menu/components/card/cardcellcomponent/formconfig.jsx b/src/menu/components/card/cardcellcomponent/formconfig.jsx index 60a2c1b..16a2ff6 100644 --- a/src/menu/components/card/cardcellcomponent/formconfig.jsx +++ b/src/menu/components/card/cardcellcomponent/formconfig.jsx @@ -35,7 +35,7 @@ if (appMenus) { try { appMenus = JSON.parse(appMenus) - } catch { + } catch (e) { appMenus = [] } } else { @@ -296,17 +296,6 @@ required: false, }, { - type: 'radio', - key: 'scale', - label: '鍥剧墖鏀惧ぇ', - initVal: card.scale || 'false', - required: false, - options: [ - { value: 'false', text: '涓嶅彲浠�' }, - { value: 'true', text: '鍙互' } - ] - }, - { type: 'select', key: 'aspectRatio', label: '闀垮姣�', @@ -315,6 +304,17 @@ options: [ { value: '4:3', text: '4:3' }, { value: '16:9', text: '16:9' } + ] + }, + { + type: 'radio', + key: 'noValue', + label: '绌哄��', + initVal: card.noValue || 'show', + required: false, + options: [ + { value: 'show', text: '鏄剧ず' }, + { value: 'hide', text: '闅愯棌' } ] }, { @@ -332,7 +332,7 @@ ] }, { - type: 'select', + type: 'radio', key: 'link', label: '閾炬帴', initVal: card.link || '', @@ -345,6 +345,17 @@ ] }, { + type: 'radio', + key: 'scale', + label: '鍥剧墖鏀惧ぇ', + initVal: card.scale || 'false', + required: false, + options: [ + { value: 'false', text: '涓嶅彲浠�' }, + { value: 'true', text: '鍙互' } + ] + }, + { type: 'select', key: 'linkmenu', label: '鍏宠仈鑿滃崟', -- Gitblit v1.8.0