mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-09 00:18:07 +08:00
update 动态标签名称
This commit is contained in:
@@ -62,10 +62,15 @@ export default {
|
||||
return {
|
||||
activeName: 'pile',
|
||||
stationId: this.$route.params.id,
|
||||
stationName: this.$route.params.stationName,
|
||||
};
|
||||
},
|
||||
created() {
|
||||
// console.log(this.stationId, "充电桩详情 create");
|
||||
const stationName = this.stationName;
|
||||
const title = "【" + stationName + "】站点详情";
|
||||
const route = Object.assign({}, this.$route, { title: `${title}` })
|
||||
this.$store.dispatch('tagsView/updateVisitedView', route)
|
||||
},
|
||||
mounted() {
|
||||
this.initializeData(this.activeName);
|
||||
|
||||
Reference in New Issue
Block a user