Skip to content

Commit

Permalink
fix: 解决tab item可能为空问题 (#438)
Browse files Browse the repository at this point in the history
Co-authored-by: 帆大 <maoyifan.myf@antgroup.com>
  • Loading branch information
yifanmao and 帆大 authored Dec 15, 2022
1 parent db684c9 commit 6a4b409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tabs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Component({
if(group){
objectValues(group.items).forEach(item=>{
// @ts-ignore
item.setFallback(v)
item?.setFallback(v)
})
}
},
Expand Down

0 comments on commit 6a4b409

Please sign in to comment.