成都工业学院第三方新开页面关闭调整
This commit is contained in:
parent
081d5bf630
commit
37e0779d23
@ -227,7 +227,9 @@ export default {
|
||||
this.logout();
|
||||
// });
|
||||
} else if (this.$route.query.third) {
|
||||
if (this.$route.query.project === 'cgy' || this.$route.query.project === 'drts') {
|
||||
if (this.$route.query.thirdOpen) {
|
||||
window.close();
|
||||
} else if (this.$route.query.project === 'cgy' || this.$route.query.project === 'drts') {
|
||||
window.parent.postMessage('back', '*');
|
||||
} else {
|
||||
window.close();
|
||||
|
@ -63,7 +63,8 @@ export default {
|
||||
async enterSimulation() {
|
||||
const query = {
|
||||
third: true,
|
||||
query: 'cgy'
|
||||
project: 'cgy',
|
||||
thirdOpen: true
|
||||
};
|
||||
const resp = await getMapFunctioById(this.$route.query.systemId);
|
||||
query.mapId = resp.data.mapId;
|
||||
|
Loading…
Reference in New Issue
Block a user