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; },