diff --git a/src/views/trainingPlatform/simulation.vue b/src/views/trainingPlatform/simulation.vue index 1308df715..7b5bdee1b 100644 --- a/src/views/trainingPlatform/simulation.vue +++ b/src/views/trainingPlatform/simulation.vue @@ -308,12 +308,12 @@ export default { queryMapFunctionList({mapId: this.$route.params.mapId, detail: true}).then(resp => { this.systemList = resp.data; this.systemList.forEach(item => { - if (item.subset && this.subsetList.includes(item.subset)) { + if (item.subset && this.subsetList.includes(item.subset) && item.name !== '实训室') { this.subsetMap[item.subset].push(item); - } else if (item.subset) { + } else if (item.subset && item.name !== '实训室') { this.subsetList.push(item.subset); this.subsetMap[item.subset] = [item]; - } else { + } else if ( item.name !== '实训室') { if (!this.subsetList.includes('默认')) { this.subsetList.push('默认'); this.subsetMap['默认'] = [];