原创 Vue路由跳轉傳參

1.query方式: (注意:path要用‘/’+跳轉頁的名字) 傳出頁多傳一個query對象 data(){ return{ var a = '123' } A(){ this.$router.pu