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')