From ecad2fde944d61203d932683978829af037dc99c Mon Sep 17 00:00:00 2001 From: Spaceman Date: Mon, 17 Nov 2025 21:11:22 +0800 Subject: [PATCH] fix(Select): placeholder not displayed when v-model:value initialized with empty string --- components/vc-select/Select.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vc-select/Select.tsx b/components/vc-select/Select.tsx index e94471f608..24a2b2f958 100644 --- a/components/vc-select/Select.tsx +++ b/components/vc-select/Select.tsx @@ -207,7 +207,7 @@ export default defineComponent({ // ========================= Wrap Value ========================= const convert2LabelValues = (draftValues: DraftValueType) => { // Convert to array - const valueList = toArray(draftValues); + const valueList = draftValues !== '' ? toArray(draftValues) : []; // Convert to labelInValue type return valueList.map(val => {