潜逃路由

This commit is contained in:
2021-03-05 10:34:48 +08:00
parent fa7f15c180
commit 8019dd0949
6 changed files with 268 additions and 4 deletions

View File

@@ -23,8 +23,22 @@ const routes = [
component: ()=> import("@/views/Login.vue")
},
{
path:"/list",
component: ()=> import("@/views/List.vue")
path:"/nav",
component: ()=>import("@/views/DaoHang.vue"),
children:[
{
path:"list",
component: ()=> import("@/views/List.vue")
},
{
path:"addstu",
component:()=>import("@/views/AddSTu.vue")
},
{
path:"stulist",
component:()=>import("@/views/StuList.vue")
},
]
}
]