add activity

This commit is contained in:
xinbowang
2020-08-27 20:36:08 +08:00
parent 7fcc28cbad
commit 2e9ee0bd97
11 changed files with 314 additions and 1 deletions

View File

@ -66,7 +66,7 @@ router.beforeEach((to, from, next) => {
} else {
//console.log(whiteList.indexOf(to.path));
// 没有token
if (whiteList.indexOf(to.path) !== -1 ||to.path.indexOf("/experience/apply/") != -1||to.path.indexOf("/experience/result/") != -1||to.path.indexOf("/experience/content/") != -1) {
if (whiteList.indexOf(to.path) !== -1 ||to.path.indexOf("/experience/apply/") != -1||to.path.indexOf("/experience/result/") != -1||to.path.indexOf("/experience/content/") != -1||to.path.indexOf("/activity") != -1) {
// 在免登录白名单,直接进入
next()
} else {