diff --git a/src/date-picker.js b/src/date-picker.js index 4c5a800..12fce74 100644 --- a/src/date-picker.js +++ b/src/date-picker.js @@ -208,6 +208,13 @@ export default { this.currentValue = val; }, }, + popupVisible: { + handler(val) { + if (val) { + this.currentValue = this.innerValue; + } + }, + }, }, created() { if (typeof this.format === 'object') {