Commit d0600f0c authored by 毛线's avatar 毛线

路由修改

parent 5a13aa73
import { Message } from 'element-ui' import { Message } from 'element-ui'
import { getToken } from '@/utils/auth' // 验权 import { getToken } from '@/utils/auth' // 验权
const whiteList = ['/loading', '/login', '/test', '/index/test', '/goToGame/'] // 不重定向白名单 const whiteList = ['/loading', '/loading/', '/login', '/login/', '/test', '/index/test', '/goToGame/'] // 不重定向白名单
export default ({ app, redirect, route }) => { export default ({ app, redirect, route }) => {
const { fullPath, path } = route const { fullPath, path } = route
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment