From fe22603f2cc4c2a6bae9255f4ae3efd2f3d01ec4 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Fri, 6 Jan 2023 19:29:25 +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=E9=A6=96=E9=A1=B5=E5=88=87=E6=8D=A2tab?= =?UTF-8?q?=E6=97=B6=E7=BB=9F=E8=AE=A1=E5=BD=92=E9=9B=B6=E7=9A=84=E6=83=85?= =?UTF-8?q?=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1021625 --user=宋天阳 【接口测试】github#21120,API自动化首页统计信息在切换table页后相关统计信息不可以展示 https://www.tapd.cn/55049933/s/1323927 --- api-test/frontend/src/business/home/ApiHome.vue | 2 +- .../business/home/components/dashboard/ApiCaseDashboard.vue | 3 --- .../business/home/components/dashboard/ScenarioDashboard.vue | 3 --- .../home/components/dashboard/ScenarioScheduleDashboard.vue | 3 --- 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/api-test/frontend/src/business/home/ApiHome.vue b/api-test/frontend/src/business/home/ApiHome.vue index 1a834d2489..af77ada71f 100644 --- a/api-test/frontend/src/business/home/ApiHome.vue +++ b/api-test/frontend/src/business/home/ApiHome.vue @@ -81,7 +81,7 @@ export default { showVersionSelector: false, }; }, - created() { + activated() { this.initVersions(); this.$nextTick(() => { this.refreshAllCard(); diff --git a/api-test/frontend/src/business/home/components/dashboard/ApiCaseDashboard.vue b/api-test/frontend/src/business/home/components/dashboard/ApiCaseDashboard.vue index eb28fcd9a3..8b8865c3fb 100644 --- a/api-test/frontend/src/business/home/components/dashboard/ApiCaseDashboard.vue +++ b/api-test/frontend/src/business/home/components/dashboard/ApiCaseDashboard.vue @@ -206,9 +206,6 @@ export default { }, }; }, - activated() { - this.search(); - }, methods: { search(versionId) { this.loading = true; diff --git a/api-test/frontend/src/business/home/components/dashboard/ScenarioDashboard.vue b/api-test/frontend/src/business/home/components/dashboard/ScenarioDashboard.vue index af04916073..96cd0ee04b 100644 --- a/api-test/frontend/src/business/home/components/dashboard/ScenarioDashboard.vue +++ b/api-test/frontend/src/business/home/components/dashboard/ScenarioDashboard.vue @@ -207,9 +207,6 @@ export default { }, }; }, - activated() { - this.search(); - }, methods: { search(versionId) { this.loading = true; diff --git a/api-test/frontend/src/business/home/components/dashboard/ScenarioScheduleDashboard.vue b/api-test/frontend/src/business/home/components/dashboard/ScenarioScheduleDashboard.vue index f0a4719e2b..cedb286cf8 100644 --- a/api-test/frontend/src/business/home/components/dashboard/ScenarioScheduleDashboard.vue +++ b/api-test/frontend/src/business/home/components/dashboard/ScenarioScheduleDashboard.vue @@ -160,9 +160,6 @@ export default { }, }; }, - activated() { - this.search(); - }, methods: { search(versionId) { this.loading = true;