From 8096003ed17ec207c13bd6a89a2f5f3418c584e0 Mon Sep 17 00:00:00 2001 From: tanjinzhou <415800467@qq.com> Date: Tue, 10 Nov 2020 13:18:40 +0800 Subject: [PATCH] fix: select search not work #3144 --- antdv-demo | 2 +- components/vc-select/utils/valueUtil.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/antdv-demo b/antdv-demo index bdc7ad925..ff42f741d 160000 --- a/antdv-demo +++ b/antdv-demo @@ -1 +1 @@ -Subproject commit bdc7ad92563bae72538ceb802fcd5d1543316f13 +Subproject commit ff42f741de836c30b9a80d217d6ea72a0869b933 diff --git a/components/vc-select/utils/valueUtil.ts b/components/vc-select/utils/valueUtil.ts index 24c131c85..0e6a3f50c 100644 --- a/components/vc-select/utils/valueUtil.ts +++ b/components/vc-select/utils/valueUtil.ts @@ -168,7 +168,7 @@ function toRawString(content: VNodeChild): string { if (isVNode(item)) { return item?.el?.innerText || item?.el?.wholeText; } else { - return ''; + return item; } }) .join('');