From 6e6d25e5ace90416605aaca76f5a64687bddd98f Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 18 八月 2025 09:25:44 +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