From df432e35933c531d8b0f8c282a4f19ddef990d1b Mon Sep 17 00:00:00 2001
From: wxg0103 <727495428@qq.com>
Date: Fri, 17 Dec 2021 19:21:39 +0800
Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?=
=?UTF-8?q?=E5=A4=8D=E5=88=B6case=E5=90=8E=E8=B7=AF=E5=BE=84=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=E4=B8=8D=E4=B8=80=E8=87=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
--bug=1008947 --user=王孝刚 【github#8504】复制case后路径显示不一致
https://www.tapd.cn/55049933/s/1082706
---
.../components/api/automation/scenario/ApiScenarioList.vue | 4 ++--
.../components/api/definition/components/case/ApiCaseList.vue | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue
index ef81d9a6c7..16197c4676 100644
--- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue
+++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue
@@ -52,7 +52,7 @@
:fields-width="fieldsWidth"
min-width="120px">
-
+
{{ scope.row.num }}
@@ -65,7 +65,7 @@
:fields-width="fieldsWidth"
min-width="120px">
-
+
{{ scope.row.customNum }}
diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseList.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseList.vue
index 53e3aec060..051e6721fd 100644
--- a/frontend/src/business/components/api/definition/components/case/ApiCaseList.vue
+++ b/frontend/src/business/components/api/definition/components/case/ApiCaseList.vue
@@ -158,6 +158,7 @@ export default {
}
this.api.method = apiCase.request.method
this.api.name = apiCase.request.name;
+ this.api.path = apiCase.request.path;
}
if (apiCase.tags) {
apiCase.tags = JSON.parse(apiCase.tags);