例如:點擊localhost:8080/1/ 中的按鈕跳轉到 localhost:8080/2/:id可以通過this.$route.router.go({name:"2",params:{id:3213}});跳轉但是現在想進入localhost:8080/1/:id的時候自動在后面添加隨機的id參數,需要怎么做的??
關于vue-router的一個問題
蠱毒傳說
2018-10-09 17:19:00