|
@@ -7,7 +7,7 @@ export const authGuard: CanActivateFn = (route, state) => {
|
|
if (userAuth?.id) {
|
|
if (userAuth?.id) {
|
|
return true;
|
|
return true;
|
|
} else {
|
|
} else {
|
|
- // 暂时存储登陆前用户所在页面
|
|
|
|
|
|
+ // 暂时存储登录前用户所在页面
|
|
let REDIRECT_URL = location.pathname;
|
|
let REDIRECT_URL = location.pathname;
|
|
localStorage.setItem("REDIRECT_URL", REDIRECT_URL);
|
|
localStorage.setItem("REDIRECT_URL", REDIRECT_URL);
|
|
if (location.pathname?.startsWith("/s0210402")) {
|
|
if (location.pathname?.startsWith("/s0210402")) {
|