代码调整

This commit is contained in:
fan 2023-07-11 11:22:41 +08:00
parent f17a54b860
commit 0297144b16
2 changed files with 14 additions and 2 deletions

View File

@ -137,7 +137,13 @@ export default {
}; };
}, },
computed: { computed: {
...mapGetters('map', ['stationList']) ...mapGetters('map', ['stationList']),
group() {
return this.$route.query.group;
},
projectDevice() {
return this.$route.query.projectDevice;
}
}, },
mounted() { mounted() {
this.stationList.forEach(station => { this.stationList.forEach(station => {

View File

@ -136,7 +136,13 @@ export default {
computed: { computed: {
...mapGetters('map', [ ...mapGetters('map', [
'stationList' 'stationList'
]) ]),
group() {
return this.$route.query.group;
},
projectDevice() {
return this.$route.query.projectDevice;
}
}, },
mounted() { mounted() {
this.stationList.forEach(station => { this.stationList.forEach(station => {