From 3935fec99cc3ad5ec9394952a84bc2ffdaf9ef97 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 28 三月 2021 11:03:42 +0800 Subject: [PATCH] 2021-03-28 --- src/templates/zshare/formconfig.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 0a321e4..1da9bb4 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -1419,7 +1419,7 @@ options: menulist }, { - type: 'text', + type: 'textarea', key: 'linkurl', label: '閾炬帴鍦板潃', initVal: card.linkurl || '', @@ -2427,7 +2427,7 @@ max: 24, precision: 0, label: '琛ㄥ崟瀹藉害', - initVal: card.span || ('textarea,hint,checkcard,brafteditor'.indexOf(card.type) > -1 ? 24 : 12), + initVal: card.span || (['textarea', 'hint', 'checkcard', 'brafteditor'].includes(card.type) ? 24 : 12), tooltip: '鏍呮牸甯冨眬鏁磋24绛夊垎銆�', required: true }, -- Gitblit v1.8.0