diff --git a/packages/form/src/fields/Date.vue b/packages/form/src/fields/Date.vue index 2a9d2342..ddbbcf34 100644 --- a/packages/form/src/fields/Date.vue +++ b/packages/form/src/fields/Date.vue @@ -6,7 +6,7 @@ :placeholder="config.placeholder" :disabled="disabled" :format="config.format" - :value-format="config.format || 'YYYY-MM-DD HH:mm:ss'" + :value-format="config.valueFormat || 'YYYY-MM-DD HH:mm:ss'" @change="changeHandler" > diff --git a/packages/form/src/fields/Time.vue b/packages/form/src/fields/Time.vue index 7d26d792..89feabaa 100644 --- a/packages/form/src/fields/Time.vue +++ b/packages/form/src/fields/Time.vue @@ -1,6 +1,8 @@