Skip to content

Commit dad14ae

Browse files
committed
fix(base-select): fix option can not selected when set clear-no-match-value to true
1 parent 9e524ef commit dad14ae

File tree

1 file changed

+1
-1
lines changed
  • packages/renderless/src/base-select

1 file changed

+1
-1
lines changed

packages/renderless/src/base-select/index.ts

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

274274
// tiny 新增
275-
if (!option.currentLabel) {
275+
if (!option.state.currentLabel) {
276276
api.clearNoMatchValue('')
277277
}
278278

0 commit comments

Comments
 (0)