From 120a1ca7042212630dbe9a0cb6aa208ebf1b1e3d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 22 十二月 2021 16:15:17 +0800 Subject: [PATCH] 2021-12-22 --- src/templates/zshare/formconfig.jsx | 23 +++-------------------- 1 files changed, 3 insertions(+), 20 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 0d110c6..bca124f 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -1234,12 +1234,11 @@ }] }, { - type: 'select', + type: 'icon', key: 'icon', label: Formdict['model.icon'], initVal: card.icon, - required: false, - options: [] + required: false }, { type: 'select', @@ -3323,27 +3322,11 @@ options: [] }, { - type: 'select', + type: 'icon', key: 'icon', label: Formdict['model.icon'], initVal: card.icon || '', required: false, - options: [{ - value: '', - text: Formdict['model.empty'] - }, { - value: 'table', - text: 'table' - }, { - value: 'bar-chart', - text: 'bar-chart' - }, { - value: 'pie-chart', - text: 'pie-chart' - }, { - value: 'line-chart', - text: 'line-chart' - }], forbid: type === 'CalendarPage' }, { -- Gitblit v1.8.0