From 4872876afc100d5792fa9a115955f06081bdca62 Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Sat, 11 Mar 2023 15:29:55 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=8A=A8=E6=80=81=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jsowell-ui/src/router/index.js | 2 +- jsowell-ui/src/views/pile/station/detail.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jsowell-ui/src/router/index.js b/jsowell-ui/src/router/index.js index fba3ef262..11605a760 100644 --- a/jsowell-ui/src/router/index.js +++ b/jsowell-ui/src/router/index.js @@ -107,7 +107,7 @@ export const constantRoutes = [ hidden: true, children: [ { - path: "index/:id", + path: "index/:id/:stationName", component: () => import("@/views/pile/station/detail"), name: "stationDetail", meta: { title: "充电站详情", activeMenu: "/station/station" }, diff --git a/jsowell-ui/src/views/pile/station/detail.vue b/jsowell-ui/src/views/pile/station/detail.vue index 058146286..934d29a22 100644 --- a/jsowell-ui/src/views/pile/station/detail.vue +++ b/jsowell-ui/src/views/pile/station/detail.vue @@ -67,6 +67,7 @@ export default { }, created() { // console.log(this.stationId, "充电桩详情 create"); + // const stationId = this.stationId; const stationName = this.stationName; const title = "【" + stationName + "】站点详情"; const route = Object.assign({}, this.$route, { title: `${title}` })