Vue中this.$router.push实现页面跳转并传参

it2026-01-29  3

this.$router.push({ path: 'logicalmaptow', //跳转的页面的path(和路由中path对应) query: { buildingNumber: this.communityName+'-'+buildingNumber //参数传递 } })

 

最新回复(0)