Skip to content

Commit

Permalink
Merge pull request TencentBlueKing#2646 from lhzzforever/dev/develop_ci
Browse files Browse the repository at this point in the history
fix: 处理type为空的情况
  • Loading branch information
ielgnaw authored May 9, 2024
2 parents a237995 + c5b1c8c commit aa48d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/choose-ip/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@
handleOnExpanded (index, expanded) {
window.changeAlert = true;
if (!expanded && this.treeData[index + 2].type === 'search-empty') {
if (!expanded && this.treeData[index + 2] && this.treeData[index + 2].type === 'search-empty') {
this.treeData.splice(index + 2, 1);
}
},
Expand Down

0 comments on commit aa48d9c

Please sign in to comment.