提交 bd2a8379 authored 作者: lihuihui's avatar lihuihui

updata

上级 0a8638a3
......@@ -40,7 +40,7 @@ export default {
window.localStorage.removeItem('showflag')
setTimeout(() => {
this.$router.replace({
path: '/'
path: `/login/${JSON.parse(window.localStorage.getItem('examInfo')).exam_id}`
})
}, 5000)
}, 4000)
......
export default [
{ path: '/', redirect: `/login/${JSON.parse(window.localStorage.getItem('examInfo')) ? JSON.parse(window.localStorage.getItem('examInfo')).exam_id : '*'}` },
{ path: '/', redirect: '*' },
/* 测试页面 */
{ path: '/test', name: 'test', component: () => import('../pages/test.vue') },
/* 登录页面 */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论