2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-12 03:42:27 +03:00

fix: sync selectedValue and inputValue on opening (#640)

This commit is contained in:
mengxiong10
2021-09-05 10:35:08 +08:00
parent 2cbd0e02ff
commit 8907810e8a
+7
View File
@@ -208,6 +208,13 @@ export default {
this.currentValue = val;
},
},
popupVisible: {
handler(val) {
if (val) {
this.currentValue = this.innerValue;
}
},
},
},
created() {
if (typeof this.format === 'object') {