This commit is contained in:
asd
2019-12-09 10:58:31 +08:00
parent 01ec544b70
commit 8f1ce84d91

View File

@@ -224,4 +224,11 @@ next 进行管道中的下一个钩子
2.路由独享的 导航守卫
在main.js中的 router
在main.js中的 routes 路由定义:
const routes= [
{ path: "/a", component: aa },
{ path: "/b", component: bb },
]
把 { path: "/a", component: aa },改成: