我想要的路径:http://localhost:8080/#/main/hato/realtime/eventDetail/238vue
状况二:已进行路由配置this
路由用 name和params
路由跳转:http://localhost:8080/#/main/hato/realtime/eventDetail component
路由用path和query
路由跳转:http://localhost:8080/#/main/hato/realtime/eventDetail?id=238router
const showButton = {路由
路由用 name和params
路由跳转:http://localhost:8080/#/main/hato/realtime/eventDetail/238get
路由用path和query 下面这个路径很奇怪,因此vue在router.js里面有个name属性
路由跳转:http://localhost:8080/#/main/hato/realtime/eventDetail/:id?id=238it