導航鉤子

全局路由就是在router下使用
router.beforeEachide

to:即將進入的對象
from:當前導航離開的導航對象
next:是一個函數,調用resolve,執行下一步函數

相關文章
相關標籤/搜索