.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頁面
相關文章
相關標籤/搜索