mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-06 19:10:20 +08:00
update 动态标签名称
This commit is contained in:
@@ -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" },
|
||||
|
||||
@@ -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}` })
|
||||
|
||||
Reference in New Issue
Block a user