From 81c3fd3ac5017591d987d9c9fe42042fae5c7d7d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 30 十一月 2021 14:30:47 +0800 Subject: [PATCH] 2021-11-30 --- 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