vue 路由器傳參數

this.$router.push({name:"XXXX",param:{id:'XXX',name:"XXXX"}})this

接收參數:router

this.$route.params.idroute

this.$route.params.namepush

相關文章
相關標籤/搜索