update
This commit is contained in:
@@ -208,6 +208,8 @@ new Vue({
|
||||
(2) 定义route.beforeEach
|
||||
|
||||
```
|
||||
router.before
|
||||
router.beforeEach((to,from,next)=>{
|
||||
|
||||
})
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user