exam-user

This commit is contained in:
xiaomlove
2021-04-25 02:12:14 +08:00
parent a0c7a7e5dc
commit 0c5f3d935d
28 changed files with 869 additions and 92 deletions
+4
View File
@@ -35,6 +35,9 @@
<el-menu-item-group>
<el-menu-item index="/exam"><i class="el-icon-menu" />Exam</el-menu-item>
</el-menu-item-group>
<el-menu-item-group>
<el-menu-item index="/exam-user"><i class="el-icon-menu" />Exam user</el-menu-item>
</el-menu-item-group>
</el-submenu>
</el-menu>
</el-aside>
@@ -76,6 +79,7 @@ export default {
}
})
router.beforeEach((to, from, next) => {
console.log("App beforeEach to", to)
if (to.path == '/login') {
// 如果路径是 /login 则正常执行
next()