From a638db3634efcddd850ef465eed7dbc51b87b4b0 Mon Sep 17 00:00:00 2001
From: wxg0103 <727495428@qq.com>
Date: Mon, 12 Jun 2023 11:52:46 +0800
Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=BA=E6=99=AF=E5=AF=BC=E5=85=A5=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3=E5=88=97=E8=A1=A8=E9=A2=91=E7=B9=81=E8=B0=83=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3=E7=9A=84=E7=BC=BA=E9=99=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
--bug=1026866 --user=王孝刚 【接口测试】场景详情-导入接口报错且前端频繁调用分页查询接口
https://www.tapd.cn/55049933/s/1380411
---
.../src/business/automation/scenario/EditApiScenario.vue | 2 +-
.../src/business/automation/scenario/api/ApiRelevance.vue | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue b/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue
index c2a4b341dc..ea37dd55ef 100644
--- a/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue
+++ b/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue
@@ -1970,7 +1970,7 @@ export default {
if (res.data) {
this.projectIds = new Set(res.data.projectIds);
this.projectIds.add(this.projectId);
- this.isFullUrl = res.data.fullUrl;
+ this.isFullUrl = res.data.data.fullUrl;
}
resolve();
});
diff --git a/api-test/frontend/src/business/automation/scenario/api/ApiRelevance.vue b/api-test/frontend/src/business/automation/scenario/api/ApiRelevance.vue
index 68d718894f..72397535d8 100644
--- a/api-test/frontend/src/business/automation/scenario/api/ApiRelevance.vue
+++ b/api-test/frontend/src/business/automation/scenario/api/ApiRelevance.vue
@@ -60,7 +60,7 @@
-
+
{{ $t('commons.copy') }}
@@ -236,13 +236,16 @@ export default {
this.moduleOptions = data;
},
refresh() {
- this.$refs.nodeTree.refresh(this.projectId);
if (this.isApiListEnable) {
this.$refs.apiList.initTable(this.projectId);
} else {
this.$refs.apiCaseList.initTable(this.projectId);
}
},
+ refreshData() {
+ this.$refs.nodeTree.refresh(this.projectId);
+ this.refresh();
+ },
setProject(projectId) {
this.projectId = projectId;
},