diff --git a/frontend/src/business/components/api/automation/report/SysnApiReportDetail.vue b/frontend/src/business/components/api/automation/report/SysnApiReportDetail.vue index a0dd4752d7..3a04293e5f 100644 --- a/frontend/src/business/components/api/automation/report/SysnApiReportDetail.vue +++ b/frontend/src/business/components/api/automation/report/SysnApiReportDetail.vue @@ -184,7 +184,7 @@ export default { hashTree.forEach(item => { if (item.enable) { item.parentIndex = fullPath ? fullPath + "_" + item.index : item.index; - if (item.command === item.name) { + if (item.type && item.type === "MsUiCommand" && item.command === item.name) { item.name = this.$t("ui." + item.name); } let name = item.name ? item.name : this.getType(item.type);