diff --git a/packages/devui-vue/devui/editable-select/src/composables/use-select.ts b/packages/devui-vue/devui/editable-select/src/composables/use-select.ts index 7ac279b1d4..6b7f9969da 100644 --- a/packages/devui-vue/devui/editable-select/src/composables/use-select.ts +++ b/packages/devui-vue/devui/editable-select/src/composables/use-select.ts @@ -159,9 +159,7 @@ export function useSelect( watch( () => props.options, (newOptions) => { - if (newOptions.length !== 0) { - cachedOptions.value = newOptions; - } + cachedOptions.value = newOptions; } ); diff --git a/packages/devui-vue/package.json b/packages/devui-vue/package.json index 4cad83e7f8..25094b39ca 100644 --- a/packages/devui-vue/package.json +++ b/packages/devui-vue/package.json @@ -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": [