no message
This commit is contained in:
13
plugins/router.js
Normal file
13
plugins/router.js
Normal file
@ -0,0 +1,13 @@
|
||||
// 设置全局前置守卫和后置守卫
|
||||
|
||||
export default ({ app, store }) => {
|
||||
//全局前置守卫
|
||||
// app.router.beforeEach((to, from, next) => {
|
||||
|
||||
// })
|
||||
|
||||
//全局后置守卫
|
||||
// app.router.afterEach((to, from) => {
|
||||
|
||||
// })
|
||||
}
|
||||
Reference in New Issue
Block a user