取消登录进入 全屏

This commit is contained in:
fan 2021-12-14 10:06:01 +08:00
parent c98fd9e0e0
commit cf397fa9a0
3 changed files with 0 additions and 7 deletions

View File

@ -13,7 +13,6 @@
<script>
import demonList from './demonList';
import drapLeft from '@/views/components/drapLeft/index';
import { launchFullscreen } from '@/utils/screen';
import localStore from 'storejs';
import { getSessionStorage, setSessionStorage } from '@/utils/auth';
@ -44,7 +43,6 @@ export default {
mounted() {
const againEnter = getSessionStorage('againEnter') || null;
if (!againEnter) {
launchFullscreen();
setSessionStorage('againEnter', true);
}
this.resize();

View File

@ -155,7 +155,6 @@ import FloatPart from './floatPart';
import { getSimulationInfoNew } from '@/api/simulation';
import { getSimulationInfoByGroup } from '@/api/rtSimulation';
import { getSessionStorage } from '@/utils/auth';
import { launchFullscreen } from '@/utils/screen';
import Register from './register';
export default {
@ -563,7 +562,6 @@ export default {
project:this.project
}});
this.loading = false;
launchFullscreen();
});
} else {
getSimulationInfoNew(res.data.group).then(resp => {
@ -588,7 +586,6 @@ export default {
}});
}
this.loading = false;
launchFullscreen();
});
}
});

View File

@ -13,7 +13,6 @@
<script>
import demonList from './demonList';
import drapLeft from '@/views/components/drapLeft/index';
import { launchFullscreen } from '@/utils/screen';
import localStore from 'storejs';
import { getSessionStorage, setSessionStorage } from '@/utils/auth';
@ -43,7 +42,6 @@ export default {
goRoutePath(data) {
const againEnter = getSessionStorage('againEnter') || null;
if (!againEnter) {
launchFullscreen();
const project = getSessionStorage('project');
const userId = this.$store.state.user.id;
const path = localStore.get('trainingPlatformRoute' + userId + project);