.Vue路由(路由配置、传参、获取参数)

this.$route 和 this.$router区别:vue this.$route 信息参数(query、prams)传参获取 this.$router 功能函数,go(),push()等方法调用 1.导入和使用路由(main.js):ios import Router from 'vue-router' // 使用路由 Vue.use(Router) //导入vue页面
相关文章
相关标签/搜索