From a7666ec39e65e56759a9b12ed7748fd349e6828f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 02 一月 2022 23:47:23 +0800 Subject: [PATCH] 2022-01-02 --- src/templates/zshare/formconfig.jsx | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 522f79e..1d50873 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -2365,6 +2365,8 @@ let initval = card.initval || '' if (card.type === 'switch') { initval = card.initval === true + } else if (card.type === 'number') { + initval = card.initval || 0 } return [ -- Gitblit v1.8.0