fix: 修复实体详情底部tab为Related entity时activeBar宽度过大的问题

This commit is contained in:
刘洪洪
2023-08-09 10:26:11 +08:00
parent f93d1d6068
commit 9d8445c17d

View File

@@ -164,7 +164,7 @@ export default {
this.errorMsg2 = this.errorMsgHandler(res1)
}
this.$emit('checkTag', entityDetailTabsName.relatedEntity, res0.data.result.length + res1.data.result.length)
} else {
} else if (this.entity.entityType === 'app') {
this.$emit('checkTag', entityDetailTabsName.relatedEntity, 0)
}
@@ -185,7 +185,7 @@ export default {
this.errorMsg2 = this.errorMsgHandler(res1)
}
this.$emit('checkTag', entityDetailTabsName.relatedEntity, res0.data.result.length + res1.data.result.length)
} else {
} else if (this.entity.entityType === 'ip') {
this.$emit('checkTag', entityDetailTabsName.relatedEntity, 0)
}