From 11745b05b3ecdd3a3dc6f64793dc83a095de2b09 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 12 五月 2022 10:19:52 +0800 Subject: [PATCH] 2022-05-12 --- src/menu/components/card/cardcellcomponent/formconfig.jsx | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/menu/components/card/cardcellcomponent/formconfig.jsx b/src/menu/components/card/cardcellcomponent/formconfig.jsx index 594f08a..1bfeece 100644 --- a/src/menu/components/card/cardcellcomponent/formconfig.jsx +++ b/src/menu/components/card/cardcellcomponent/formconfig.jsx @@ -8,7 +8,7 @@ * @param {*} card * @param {*} type */ -export function getCardCellForm (card, type, subtype, cardCell) { +export function getCardCellForm (card, type, subtype, cardCell, anchors) { let _options = [ { value: 'text', text: '鏂囨湰'}, { value: 'number', text: '鏁板��'}, @@ -326,6 +326,14 @@ options: [] }, { + type: 'cascader', + key: 'anchors', + label: '璺宠浆閿氱偣', + initVal: card.anchors || [], + required: false, + options: anchors + }, + { type: 'number', key: 'barHeight', min: 5, @@ -553,7 +561,7 @@ type: 'number', key: 'fixSize', min: 10, - max: 100, + max: 300, label: '瀛椾綋澶у皬', initVal: card.fixSize || 14, tooltip: '鍓嶇紑銆佸悗缂�鐨勫瓧浣撳ぇ灏忋��', -- Gitblit v1.8.0