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

This commit is contained in:
chenjiangui
2021-11-25 16:11:47 +08:00
committed by GitHub
parent 2890b77604
commit 40f9fd8172

View File

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