Skip to content

Commit

Permalink
Merge pull request #483 from jxzho/master
Browse files Browse the repository at this point in the history
优化 Select 组件开启 filter 时相关问题
  • Loading branch information
Tyh2001 authored May 6, 2024
2 parents 9d8e81e + 84df755 commit 11c4505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fighting-design/option/src/option.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}
/** 获取到 label */
const label = slotLabel.value || prop.label.toString() || prop.value.toString()
const label = slotLabel.value || prop.label?.toString() || prop.value?.toString()
/** 获取到选中的项目 */
const currentItem = parentInject.childrenLabels.find(item => {
return item.slot === label
Expand Down

0 comments on commit 11c4505

Please sign in to comment.