From daa026309b564d861491b33799e4935b402b8018 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 24 十一月 2021 22:49:49 +0800
Subject: [PATCH] 2021-11-24

---
 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