成工业iframe嵌入退出调整

This commit is contained in:
fan 2023-01-13 16:48:41 +08:00
parent dca3d00d50
commit 2af7b5cc16

View File

@ -193,8 +193,11 @@ export default {
this.logout(); this.logout();
}); });
} else if (this.$route.query.third) { } else if (this.$route.query.third) {
// this.$router.push({ path: `/trainingPlatform/simulation/${this.$route.query.mapId}`, query: { lineCode: this.$route.query.lineCode } }); if (this.$route.query.project === 'cgy') {
window.close(); window.parent.postMessage('back', '*');
} else {
window.close();
}
} else if (this.projectDevice) { } else if (this.projectDevice) {
this.logout(); this.logout();
} else { } else {