Skip to content

Commit abb9073

Browse files
committed
fix(select): fix clear-no-match prop
1 parent a2fbaf6 commit abb9073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/renderless/src/select/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ const getOptionOfSetSelected = ({ api, props }) => {
383383
}
384384

385385
// tiny 新增
386-
if (!option.currentLabel) {
386+
if (!option.state.currentLabel) {
387387
api.clearNoMatchValue('')
388388
}
389389

0 commit comments

Comments
 (0)