From 24d0dd1e2a2af732ae022839ccbac1d472814443 Mon Sep 17 00:00:00 2001 From: fofolee Date: Mon, 18 Apr 2022 09:34:01 +0800 Subject: [PATCH] =?UTF-8?q?loading=E8=B7=AF=E5=BE=84=E6=94=B9=E4=B8=BA/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/router/routes.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 862ac7a..12786ba 100644 --- a/src/App.vue +++ b/src/App.vue @@ -48,7 +48,7 @@ export default defineComponent({ // 保存偏好 this.saveProfile(); // 切到空路由 - this.$router.push("loading"); + this.$router.push("/"); // 清空临时数据 window.temporaryStoreSoldOut(); }); diff --git a/src/router/routes.js b/src/router/routes.js index d044f32..950d27e 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -36,7 +36,7 @@ const routes = [{ import('pages/updateWarningPage.vue') }, { - path: '/loading', + path: '/', name: 'loading', component: () => import('pages/LoadingPage.vue')