仿真订阅未清除调整
This commit is contained in:
parent
1e241b3460
commit
055f39b070
@ -98,13 +98,11 @@ export default {
|
||||
centralizedStationList: [],
|
||||
centralizedStationMap: {},
|
||||
loading: false,
|
||||
isFirst: true
|
||||
isFirst: true,
|
||||
group: ''
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
group() {
|
||||
return this.$route.query.group;
|
||||
},
|
||||
mapId() {
|
||||
return this.$route.query.mapId;
|
||||
},
|
||||
@ -151,6 +149,7 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.group = this.$route.query.group;
|
||||
this.isFirst = true;
|
||||
this.subscribe('COMMON');
|
||||
},
|
||||
@ -203,6 +202,7 @@ export default {
|
||||
}
|
||||
},
|
||||
clearSubscribe() {
|
||||
console.log('***************');
|
||||
clearSubscribe(getTopic('COMMON', this.group));
|
||||
clearSubscribe(getTopic('ATS_STATUS', this.group));
|
||||
clearSubscribe(getTopic('STATE', this.group));
|
||||
|
Loading…
Reference in New Issue
Block a user