diff --git a/src/datetime-picker/README.md b/src/datetime-picker/README.md index 32e6dc903..9aeea3412 100644 --- a/src/datetime-picker/README.md +++ b/src/datetime-picker/README.md @@ -33,7 +33,7 @@ export default { return { minDate: new Date(2020, 0, 1), maxDate: new Date(2025, 10, 1), - currentDate: new Date(), + currentDate: new Date(2021, 0, 17), }; }, }; diff --git a/src/datetime-picker/README.zh-CN.md b/src/datetime-picker/README.zh-CN.md index 9c7e91462..9d4bd39b4 100644 --- a/src/datetime-picker/README.zh-CN.md +++ b/src/datetime-picker/README.zh-CN.md @@ -35,7 +35,7 @@ export default { return { minDate: new Date(2020, 0, 1), maxDate: new Date(2025, 10, 1), - currentDate: new Date(), + currentDate: new Date(2021, 0, 17), }; }, }; diff --git a/src/datetime-picker/demo/index.vue b/src/datetime-picker/demo/index.vue index 690cf5644..1cc40c360 100644 --- a/src/datetime-picker/demo/index.vue +++ b/src/datetime-picker/demo/index.vue @@ -121,7 +121,7 @@ export default { minDate: new Date(2020, 0, 1), maxDate: new Date(2025, 10, 1), value: { - date: null, + date: new Date(2021, 0, 17), time: '12:00', datetime: new Date(2020, 0, 1), datehour: new Date(2020, 0, 1), diff --git a/src/datetime-picker/test/__snapshots__/demo.spec.js.snap b/src/datetime-picker/test/__snapshots__/demo.spec.js.snap index 39071a4ab..b953a167e 100644 --- a/src/datetime-picker/test/__snapshots__/demo.spec.js.snap +++ b/src/datetime-picker/test/__snapshots__/demo.spec.js.snap @@ -10,11 +10,11 @@ exports[`renders demo correctly 1`] = `