From 3abdea7bd44d17f7c0343416c815e366a92d5f76 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Tue, 8 Nov 2022 10:43:35 +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=8DHTTP=E5=8D=8F=E8=AE=AE=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E5=90=8E=E6=9C=AA=E5=90=8C=E6=AD=A5=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E8=AF=B7=E6=B1=82=E7=B1=BB=E5=9E=8B=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1017915 --user=赵勇 【接口测试】接口TEST-更新接口后查看api,请求方式没有变更 https://www.tapd.cn/55049933/s/1291609 --- .../definition/components/complete/EditCompleteHTTPApi.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api-test/frontend/src/business/definition/components/complete/EditCompleteHTTPApi.vue b/api-test/frontend/src/business/definition/components/complete/EditCompleteHTTPApi.vue index 48412aedd9..dd005da69e 100644 --- a/api-test/frontend/src/business/definition/components/complete/EditCompleteHTTPApi.vue +++ b/api-test/frontend/src/business/definition/components/complete/EditCompleteHTTPApi.vue @@ -894,7 +894,10 @@ export default { this.basisData.caseTotal = 0; } this.httpForm = JSON.parse(JSON.stringify(this.basisData)); - + if(this.basisData.request) { + this.httpForm.path = this.basisData.request.path; + this.httpForm.method = this.basisData.request.method; + } definitionFollow(this.basisData.id).then(response => { this.httpForm.follows = response.data; this.beforeHttpForm.follows = response.data;