标签:button 写法 rop show tde params oca ams gem
我想要的路径:http://localhost:8080/#/main/hato/realtime/eventDetail/238
情况二:已进行路由配置
路由用 name和params
路由跳转:http://localhost:8080/#/main/hato/realtime/eventDetail
路由用path和query
路由跳转:http://localhost:8080/#/main/hato/realtime/eventDetail?id=238
const showButton = {
路由用 name和params
路由跳转:http://localhost:8080/#/main/hato/realtime/eventDetail/238
路由用path和query 下面这个路径很奇怪,所以vue在router.js里面有个name属性
路由跳转:http://localhost:8080/#/main/hato/realtime/eventDetail/:id?id=238
标签:button 写法 rop show tde params oca ams gem
原文地址:https://www.cnblogs.com/duanhuarong/p/11904365.html