From 4825276a399926b4edb71fefd06655d82874fad8 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 03 九月 2025 17:08:28 +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