diff --git a/src/components/input/datepicker.vue b/src/components/input/datepicker.vue index d2432295..f2c9a2a0 100644 --- a/src/components/input/datepicker.vue +++ b/src/components/input/datepicker.vue @@ -183,6 +183,10 @@ export default { this.updateData() }, get() { + if(!this.date) { + return '' + } + return format(this.date, 'yyy-LL-dd H:mm') }, },