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;