diff --git a/WebVue/src/router/index.ts b/WebVue/src/router/index.ts index c00d039..c7d1c1d 100644 --- a/WebVue/src/router/index.ts +++ b/WebVue/src/router/index.ts @@ -13,6 +13,9 @@ import { PermissionContext } from "@/hooks/PermissionContext"; * 拦掉它反而只能看到登录框,看不到出错原因。 */ const WHITE_LIST = [ + // 首页动画落地页:第一次来(没登录过)的人要能看,页面上有登录/注册入口; + // 已经登录过的会被下面的守卫直接送到工作台 + "/", "/login", "/loginAgent", "/register",