1、$route:路由信息对象,只读; 用于读取路由参数,如 this.$route.query.appId 2、$router:路由操作对象,只写 用于进行路由跳转,如 this.$router.push({ name: 'index', query: { appId: 1 } })