This commit is contained in:
xinbowang
2020-09-01 20:27:49 +08:00
parent 43a31a538f
commit 92815a54e8
2 changed files with 372 additions and 8 deletions

View File

@ -1,3 +1,11 @@
/*
* @Author: your name
* @Date: 2020-09-01 20:25:37
* @LastEditTime: 2020-09-01 20:27:37
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \ruoyi-ui\src\permission.js
*/
import router from './router'
import store from './store'
import {
@ -14,7 +22,7 @@ NProgress.configure({
})
//const whiteList = ['/login', '/auth-redirect', '/bind', '/register']
const whiteList = ['/login', '/experience/apply/', '/experience/result/', '/experience/content/', '/activity', 'week', 'month', 'term', 'play']
const whiteList = ['/login', '/experience/apply/', '/experience/result/', '/experience/content/', '/activity', '/week', '/month', '/term', '/play']
router.beforeEach((to, from, next) => {
NProgress.start()