From a7bc0294e2b270821a982ebf23447a66ef65ae3c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 04 六月 2024 22:50:50 +0800 Subject: [PATCH] 2024-06-04 --- src/templates/zshare/formconfig.jsx | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 621dd29..e766e3f 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -1012,12 +1012,20 @@ let options = card.options || [] if (['select', 'radio', 'link'].includes(card.type) && card.setAll === 'true') { // 鍏煎 - options.unshift({ + let cell = { key: 'empty', Value: '', Text: card.emptyText || '绌�', ParentID: '' - }) + } + + if (card.linkSubField) { + card.linkSubField.forEach(m => { + cell[m] = '' + }) + } + + options.unshift(cell) } let initval = card.initval || '' -- Gitblit v1.8.0