[bugfix] DatetimePicker: update value when range changed (#1825)

This commit is contained in:
neverland 2018-09-19 11:39:03 +08:00 committed by GitHub
parent 46e025e56d
commit d1cb1bc58e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,8 +94,11 @@ export default create({
},
innerValue(val) {
this.updateColumnValue(val);
this.$emit('input', val);
},
columns() {
this.updateColumnValue(this.innerValue);
}
},