From 63e9e0d5cf9e6cf660f1e82f6c3eed4b23af0254 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Thu, 15 Apr 2021 14:50:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=B2=E7=AA=81=E9=97=AE=E9=A2=98=E6=81=A2?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/automation/report/components/RequestResult.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/automation/report/components/RequestResult.vue b/frontend/src/business/components/api/automation/report/components/RequestResult.vue index f3c9f6768c..c160a4b2c3 100644 --- a/frontend/src/business/components/api/automation/report/components/RequestResult.vue +++ b/frontend/src/business/components/api/automation/report/components/RequestResult.vue @@ -99,8 +99,11 @@ this.isActive = !this.isActive; }, getName(name) { - if (name && name.indexOf("^@~@^") !== -1) { + if (name && name.indexOf("^@~@^") != -1) { let arr = name.split("^@~@^"); + if (arr[arr.length - 1].indexOf("UUID=")) { + return arr[arr.length - 1].split("UUID=")[0]; + } return arr[arr.length - 1]; } return name;