diff --git a/src/views/resource/ecs/components/detail/detail-log.vue b/src/views/resource/ecs/components/detail/detail-log.vue index c578717a7025a1c33539a1c041db665a2c632734..ef735849d9760b43c9d638ded2ba695a54cc9fe9 100644 --- a/src/views/resource/ecs/components/detail/detail-log.vue +++ b/src/views/resource/ecs/components/detail/detail-log.vue @@ -109,15 +109,13 @@ export default { }, methods: { getdetailInfo(row) { - let details = ""; - var name = row.detail; - if (name == "null" || typeof name == "undefined") { + let name = row.detail; + if (name === "null" || typeof name === "undefined") { name = ""; } else { name = KSVD.taskDetailInfo.init(row.objName, name); } - details = name; - return details; + return name; // return row.detail; }, handlePageChange(page) {