From 49f09cc6f8ff8c30a75ed1a9d6f510b69b73962a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 12 十二月 2023 21:05:37 +0800 Subject: [PATCH] 2023-12-12 --- src/menu/components/card/doublecardcomponent/options.jsx | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/menu/components/card/doublecardcomponent/options.jsx b/src/menu/components/card/doublecardcomponent/options.jsx index 16bd37f..7100e7e 100644 --- a/src/menu/components/card/doublecardcomponent/options.jsx +++ b/src/menu/components/card/doublecardcomponent/options.jsx @@ -54,7 +54,7 @@ {value: 'collapse', label: '鍚堝苟'}, ], controlFields: [ - {field: 'position', values: ['default']}, + // {field: 'position', values: ['default']}, {field: 'controlIcon', values: ['unfold', 'collapse']}, ], forbid: type !== 'main' @@ -165,6 +165,17 @@ }, { type: 'radio', + field: 'layout', + label: '鍏冪礌甯冨眬', + initval: setting.layout || 'grid', + required: false, + options: [ + {value: 'grid', label: '鏍呮牸甯冨眬'}, + {value: 'flex', label: '寮规�у竷灞�'}, + ] + }, + { + type: 'radio', field: 'clickType', label: '瑙﹀彂鏂瑰紡', initval: setting.clickType || 'normal', @@ -180,7 +191,7 @@ field: 'btnControl', label: '鎸夐挳鎺у埗', initval: setting.btnControl || 'show', - tooltip: '鍙缃寜閽樉绀鸿鍒欙紝涓�鐩存樉绀烘垨榧犳爣鎮诞鏃舵樉绀恒��', + tooltip: '鍙缃寜閽樉绀鸿鍒欙紝濮嬬粓鏄剧ず鎴栭紶鏍囨偓娴椂鏄剧ず銆�', required: false, options: [ {value: 'show', label: '姝e父鏄剧ず'}, -- Gitblit v1.8.0