fix: tree-select not update when empty

pull/4825/head
tangjinzhou 2021-10-29 14:50:25 +08:00
parent a5779f2d18
commit a5604bb967
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ export default defineComponent({
const memoOptions = useMemo(
() => props.options,
[() => props.open, () => props.options],
(next, prev) => next[0] && prev[1] !== next[1],
next => next[0],
);
const valueKeys = computed(() => {