fix(DatetimePicker): fix incorrect confirm value when v-model is not used (#9913)

This commit is contained in:
chenjiangui 2021-11-24 13:08:31 +08:00 committed by GitHub
parent c842eeeb05
commit 678d4d6ea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,6 +108,8 @@ export default createComponent({
this.$nextTick(() => {
this.$nextTick(() => {
// https://github.com/youzan/vant/issues/9775
this.updateInnerValue();
this.$emit('change', picker);
});
});