fix(datetime-picker): modeValue is inconsistent with the selected data. (#10448)

This commit is contained in:
Alan Wang
2022-03-29 22:01:17 -04:00
committed by GitHub
parent 99876cfb7c
commit 25be56aa3e

View File

@@ -281,6 +281,7 @@ export default defineComponent({
const onChange = () => {
updateInnerValue();
nextTick(() => {
updateInnerValue();
nextTick(() => emit('change', currentDate.value));
});
};