From 34e7681fd12b1c4e4994d3bea1a553870e10bc50 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 11 三月 2023 17:58:54 +0800 Subject: [PATCH] 2023-03-11 --- src/templates/sharecomponent/fieldscomponent/editcard/index.jsx | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/templates/sharecomponent/fieldscomponent/editcard/index.jsx b/src/templates/sharecomponent/fieldscomponent/editcard/index.jsx index f39eecc..d4eb344 100644 --- a/src/templates/sharecomponent/fieldscomponent/editcard/index.jsx +++ b/src/templates/sharecomponent/fieldscomponent/editcard/index.jsx @@ -22,7 +22,9 @@ _type = 'text' } } else if (props.type === 'form') { - if (_type !== 'number') { + if (_type === 'datetime' || _type === 'date') { + _type = 'date' + } else if (_type !== 'number') { _type = 'text' } } -- Gitblit v1.8.0