取消登录进入 全屏
This commit is contained in:
parent
c98fd9e0e0
commit
cf397fa9a0
@ -13,7 +13,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import demonList from './demonList';
|
import demonList from './demonList';
|
||||||
import drapLeft from '@/views/components/drapLeft/index';
|
import drapLeft from '@/views/components/drapLeft/index';
|
||||||
import { launchFullscreen } from '@/utils/screen';
|
|
||||||
import localStore from 'storejs';
|
import localStore from 'storejs';
|
||||||
import { getSessionStorage, setSessionStorage } from '@/utils/auth';
|
import { getSessionStorage, setSessionStorage } from '@/utils/auth';
|
||||||
|
|
||||||
@ -44,7 +43,6 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
const againEnter = getSessionStorage('againEnter') || null;
|
const againEnter = getSessionStorage('againEnter') || null;
|
||||||
if (!againEnter) {
|
if (!againEnter) {
|
||||||
launchFullscreen();
|
|
||||||
setSessionStorage('againEnter', true);
|
setSessionStorage('againEnter', true);
|
||||||
}
|
}
|
||||||
this.resize();
|
this.resize();
|
||||||
|
@ -155,7 +155,6 @@ import FloatPart from './floatPart';
|
|||||||
import { getSimulationInfoNew } from '@/api/simulation';
|
import { getSimulationInfoNew } from '@/api/simulation';
|
||||||
import { getSimulationInfoByGroup } from '@/api/rtSimulation';
|
import { getSimulationInfoByGroup } from '@/api/rtSimulation';
|
||||||
import { getSessionStorage } from '@/utils/auth';
|
import { getSessionStorage } from '@/utils/auth';
|
||||||
import { launchFullscreen } from '@/utils/screen';
|
|
||||||
import Register from './register';
|
import Register from './register';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -563,7 +562,6 @@ export default {
|
|||||||
project:this.project
|
project:this.project
|
||||||
}});
|
}});
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
launchFullscreen();
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
getSimulationInfoNew(res.data.group).then(resp => {
|
getSimulationInfoNew(res.data.group).then(resp => {
|
||||||
@ -588,7 +586,6 @@ export default {
|
|||||||
}});
|
}});
|
||||||
}
|
}
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
launchFullscreen();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import demonList from './demonList';
|
import demonList from './demonList';
|
||||||
import drapLeft from '@/views/components/drapLeft/index';
|
import drapLeft from '@/views/components/drapLeft/index';
|
||||||
import { launchFullscreen } from '@/utils/screen';
|
|
||||||
import localStore from 'storejs';
|
import localStore from 'storejs';
|
||||||
import { getSessionStorage, setSessionStorage } from '@/utils/auth';
|
import { getSessionStorage, setSessionStorage } from '@/utils/auth';
|
||||||
|
|
||||||
@ -43,7 +42,6 @@ export default {
|
|||||||
goRoutePath(data) {
|
goRoutePath(data) {
|
||||||
const againEnter = getSessionStorage('againEnter') || null;
|
const againEnter = getSessionStorage('againEnter') || null;
|
||||||
if (!againEnter) {
|
if (!againEnter) {
|
||||||
launchFullscreen();
|
|
||||||
const project = getSessionStorage('project');
|
const project = getSessionStorage('project');
|
||||||
const userId = this.$store.state.user.id;
|
const userId = this.$store.state.user.id;
|
||||||
const path = localStore.get('trainingPlatformRoute' + userId + project);
|
const path = localStore.get('trainingPlatformRoute' + userId + project);
|
||||||
|
Loading…
Reference in New Issue
Block a user