提交 cf37669a authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 31cf6895
......@@ -23,10 +23,6 @@ router.beforeEach(async (to, from, next) => {
return
}
}
if (to.path === '/' && user.role?.id === 1) {
next('/student/lab')
return
}
next()
}
})
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论