mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[bugfix] DatetimePicker: update value when range changed (#1825)
This commit is contained in:
@@ -94,8 +94,11 @@ export default create({
|
|||||||
},
|
},
|
||||||
|
|
||||||
innerValue(val) {
|
innerValue(val) {
|
||||||
this.updateColumnValue(val);
|
|
||||||
this.$emit('input', val);
|
this.$emit('input', val);
|
||||||
|
},
|
||||||
|
|
||||||
|
columns() {
|
||||||
|
this.updateColumnValue(this.innerValue);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user