From 4453a9e63e8e176c70c432b03fd4ba3ebf00a04c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 09 二月 2023 14:55:20 +0800 Subject: [PATCH] 2023-02-09 --- 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