From 0e274944e11094012aa2e1557df8fe438b3b6d20 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 14 十二月 2021 14:25:13 +0800 Subject: [PATCH] 2021-12-14 --- src/menu/components/card/data-card/options.jsx | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/menu/components/card/data-card/options.jsx b/src/menu/components/card/data-card/options.jsx index bbdc7d6..6ea0c7c 100644 --- a/src/menu/components/card/data-card/options.jsx +++ b/src/menu/components/card/data-card/options.jsx @@ -118,18 +118,22 @@ ] }, { - type: 'radio', + type: subtype === 'propcard' ? 'select' : 'radio', field: 'selStyle', label: '閫変腑椋庢牸', initval: wrap.selStyle || 'active', tooltip: '瀛樺湪杈规鏃讹紝杈规浼氫娇鐢ㄧ郴缁熻壊銆�', required: false, - options: [ + options: subtype === 'propcard' ? [ + {value: 'none', label: '鏃�'}, {value: 'active', label: '澶栭槾褰�'}, {value: 'backFont', label: '鑳屾櫙+鏂囧瓧'}, {value: 'font', label: '鏂囧瓧'}, - ], - forbid: subtype !== 'propcard' + ] : [ + {value: 'none', label: '鏃�'}, + {value: 'active', label: '澶栭槾褰�'}, + ] + // forbid: subtype !== 'propcard' }, // { // type: 'radio', -- Gitblit v1.8.0