From edb53c35f5cf75988a39a54d5e52605c89d0ab3a Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 10:24:20 +0800
Subject: [PATCH] fix: bug
---
packages/components/src/Input/ChooseInputWithAreaPicker.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/packages/components/src/Input/ChooseInputWithAreaPicker.vue b/packages/components/src/Input/ChooseInputWithAreaPicker.vue
index b0cd598..502a62c 100644
--- a/packages/components/src/Input/ChooseInputWithAreaPicker.vue
+++ b/packages/components/src/Input/ChooseInputWithAreaPicker.vue
@@ -62,7 +62,7 @@
onConfirm: ({ selectedValue, selectedOptions }) => {
emit(
'update:modelValue',
- selectedOptions.map((x) => x.areaCode)
+ selectedOptions.filter(Boolean).map((x) => x.areaCode)
);
onClose();
},
--
Gitblit v1.9.1