Commit 1601aefe authored by Jenny's avatar Jenny

fix: 日期组件默认值修改

parent 9e69639a
...@@ -62,8 +62,7 @@ export default { ...@@ -62,8 +62,7 @@ export default {
}, },
mounted() { mounted() {
let { date } = this.elementInfo.option.dateTime let { date } = this.elementInfo.option.dateTime
if (!date) date = new Date() if (date) this.pickerValue = this.dateTimeFormat(date)
this.pickerValue = this.dateTimeFormat(date)
}, },
methods: { methods: {
timeConfirm(e) { timeConfirm(e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment