From b5364600d98c8749caba625ec813d4fe670d0a19 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 16 十二月 2021 17:29:55 +0800 Subject: [PATCH] 2021-12-16 --- src/utils/utils.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/utils/utils.js b/src/utils/utils.js index e96a81f..c777212 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -1392,6 +1392,8 @@ } } _initFormfields.push(`@${_key}=${val}`) + } else if (['date', 'datemonth', 'datetime'].includes(form.type)) { + _initFormfields.push(`@${_key}='${form.value || '1900-01-01'}'`) } else { _initFormfields.push(`@${_key}='${form.value}'`) } -- Gitblit v1.8.0