Skip to content

Commit

Permalink
Merge pull request #56 from dlhandsome/fix-es-compatible
Browse files Browse the repository at this point in the history
fix: 修复 option chain 兼容性问题
  • Loading branch information
dlhandsome authored May 8, 2024
2 parents c382c9f + c3260c9 commit ca25f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime/miniprogram/src/mask/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Component({
if (currentPageUniqueId === this.getPageUniqueId(parent)) {
return true;
}
parent = parent?.selectOwnerComponent();
parent = parent && parent.selectOwnerComponent();
}
return false;
},
Expand Down

0 comments on commit ca25f8d

Please sign in to comment.