Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
9a5a9b7ff7
@ -16,6 +16,7 @@ import { getPublishMapDetail,getPublish3dMapDetail} from '@/api/jlmap3d/load3dda
|
||||
|
||||
import StompClient from '@/utils/sock';
|
||||
import store from '@/store/index';
|
||||
import { getSessionStorage } from '@/utils/auth';
|
||||
|
||||
var clock = new THREE.Clock();
|
||||
export function Jl3ddeviceNew(dom,group,token,skinCode) {
|
||||
@ -201,9 +202,13 @@ export function Jl3ddeviceNew(dom,group,token,skinCode) {
|
||||
}
|
||||
|
||||
if(data.type == 'Simulation_Over'){
|
||||
store.dispatch('LogOut').then(() => {
|
||||
location.reload();
|
||||
});
|
||||
let projectDevice=getSessionStorage('projectDevice');
|
||||
if(getSessionStorage('project').startsWith('heb')&&projectDevice){
|
||||
store.dispatch('LogOut').then(() => {
|
||||
location.reload();
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
let changeelement = document.getElementById('jl3d');
|
||||
|
Loading…
Reference in New Issue
Block a user