From 6f5724b99600e8bc821856d35bf2b2130b0dbf44 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Thu, 27 Oct 2022 14:18:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E6=88=91=E7=9A=84=E5=BE=85=E5=8A=9E=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E5=BE=85=E6=9B=B4=E6=96=B0=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E6=B2=A1=E6=9C=89=E5=BC=B9=E7=AA=97=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001018961 --- .../components/complete/EditCompleteHTTPApi.vue | 8 ++++++++ 1 file changed, 8 insertions(+) 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 ef4b9771d9..48412aedd9 100644 --- a/api-test/frontend/src/business/definition/components/complete/EditCompleteHTTPApi.vue +++ b/api-test/frontend/src/business/definition/components/complete/EditCompleteHTTPApi.vue @@ -871,6 +871,13 @@ export default { this.citedScenarioCount = response.data; } }); + }, + getCaseCount() { + apiTestCaseCount({id: this.httpForm.id}).then(response => { + if (response.data > 0) { + this.httpForm.caseTotal = response.data; + } + }); } }, @@ -904,6 +911,7 @@ export default { this.getVersionHistory(); this.getSyncRule(); this.getCitedScenarioCount(); + this.getCaseCount(); } }, mounted() {