浏览代码

白名单添加注册路径

natasha 1 月之前
父节点
当前提交
a3db9256c3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/router/guard/index.js

+ 1 - 1
src/router/guard/index.js

@@ -4,7 +4,7 @@ import NProgress from 'nprogress';
 import 'nprogress/nprogress.css';
 NProgress.configure({ showSpinner: false });
 
-const whiteList = ['/login', '/image_change']; // 重定向白名单
+const whiteList = ['/login', '/image_change', '/register']; // 重定向白名单
 
 // 用户类型对应的跳转路径
 export const userTypeToJump = {