fix(DatetimePicker): should update value when range changed (#4676)

This commit is contained in:
neverland
2019-10-10 19:03:05 +08:00
committed by GitHub
parent e4bdd50d4b
commit 1d9b3e2013
4 changed files with 45 additions and 12 deletions
+3 -5
View File
@@ -51,17 +51,15 @@ export const TimePickerMixin = {
},
watch: {
columns: 'updateColumnValue',
innerValue(val) {
this.$emit('input', val);
},
columns() {
this.updateColumnValue(this.innerValue);
}
},
mounted() {
this.updateColumnValue(this.innerValue);
this.updateColumnValue();
},
methods: {