From a31b80263ccb6353b5cb84d926bfb29076f46d99 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 11 九月 2025 14:56:46 +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