mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-23 18:00:27 +08:00
[bugfix] DatetimePicker: update value when range changed (#1825)
This commit is contained in:
parent
46e025e56d
commit
d1cb1bc58e
@ -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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user