fix(TimePicker): incorrect value when set min-minute dynamically (#5767)

This commit is contained in:
chenjiahan
2020-03-08 08:56:42 +08:00
parent a73a304037
commit 6182b9b973
2 changed files with 26 additions and 1 deletions
+2 -1
View File
@@ -55,7 +55,7 @@ export default createComponent({
if (val !== this.innerValue) {
this.innerValue = val;
this.updateColumnValue(val);
this.updateColumnValue();
}
},
},
@@ -81,6 +81,7 @@ export default createComponent({
const minute = minuteColumn.values[minuteIndex] || minuteColumn.values[0];
this.innerValue = this.formatValue(`${hour}:${minute}`);
this.updateColumnValue();
},
onChange(picker) {