From 0d42d094a4c3968752ffb983d1724d852693b099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B3=E5=90=9B=E5=81=A5?= <40288193@qq.com> Date: Wed, 18 Sep 2024 10:41:50 +0800 Subject: [PATCH] fix(select): fix clear-no-match prop (#2135) --- packages/renderless/src/select/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/renderless/src/select/index.ts b/packages/renderless/src/select/index.ts index 6095d202a2..e74a238a2d 100644 --- a/packages/renderless/src/select/index.ts +++ b/packages/renderless/src/select/index.ts @@ -383,7 +383,7 @@ const getOptionOfSetSelected = ({ api, props }) => { } // tiny 新增 - if (!option.currentLabel) { + if (!option.state.currentLabel) { api.clearNoMatchValue('') }