diff --git a/smart-admin-web-typescript/src/components/support/dict-select/index.vue b/smart-admin-web-typescript/src/components/support/dict-select/index.vue index 372b5b10..d7557f27 100644 --- a/smart-admin-web-typescript/src/components/support/dict-select/index.vue +++ b/smart-admin-web-typescript/src/components/support/dict-select/index.vue @@ -97,17 +97,7 @@ const emit = defineEmits(['update:value', 'change']); function onChange(value) { - if (!value) { - emit('update:value', []); - emit('change', []); - return; - } - if (Array.isArray(value)) { - emit('update:value', value); - emit('change', value); - } else { - emit('update:value', [value]); - emit('change', [value]); - } + emit('update:value', value); + emit('change', value); }