From a69bf92c8907eb1fed227afb156ff0e1c5821c24 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期日, 19 十月 2025 16:16:12 +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