三个全局导航守卫 router.beforeEachrouter.beforeResolverouter.afterEach 编程式路由导航 router.pushrouter.replacerouter.gorouter.backrouter.forward