loading路径改为/

This commit is contained in:
fofolee
2022-04-18 09:34:01 +08:00
parent 9b0b7baa1d
commit 24d0dd1e2a
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ export default defineComponent({
// 保存偏好 // 保存偏好
this.saveProfile(); this.saveProfile();
// 切到空路由 // 切到空路由
this.$router.push("loading"); this.$router.push("/");
// 清空临时数据 // 清空临时数据
window.temporaryStoreSoldOut(); window.temporaryStoreSoldOut();
}); });

View File

@@ -36,7 +36,7 @@ const routes = [{
import('pages/updateWarningPage.vue') import('pages/updateWarningPage.vue')
}, },
{ {
path: '/loading', path: '/',
name: 'loading', name: 'loading',
component: () => component: () =>
import('pages/LoadingPage.vue') import('pages/LoadingPage.vue')