Merge remote-tracking branch 'origin/next' into v2.3

pull/4675/head
tangjinzhou 2021-09-19 09:19:51 +08:00
commit 6b1f38cd4e
1 changed files with 4 additions and 1 deletions

View File

@ -563,7 +563,10 @@ export default function generateSelector<
props.onChange(outValue, isMultiple.value ? outOptions : outOptions[0]);
}
mergedValue.value = outValue;
if (props.value === undefined) {
mergedValue.value = outValue;
}
};
const onInternalSelect = (