Skip to content

Commit

Permalink
fix(EditableSelect): 修复选项清空时不生效的问题 (#1838) (#1839)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyan95 committed Apr 28, 2024
1 parent f1dd00d commit 23b9656
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ export function useSelect(
watch(
() => props.options,
(newOptions) => {
if (newOptions.length !== 0) {
cachedOptions.value = newOptions;
}
cachedOptions.value = newOptions;
}
);

Expand Down
2 changes: 1 addition & 1 deletion packages/devui-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-devui",
"version": "1.6.16",
"version": "1.6.17",
"license": "MIT",
"description": "DevUI components based on Vite and Vue3",
"keywords": [
Expand Down

0 comments on commit 23b9656

Please sign in to comment.