代码调整
This commit is contained in:
parent
40061eef03
commit
c9c2478fcd
@ -174,6 +174,11 @@ onMounted(async () => {
|
||||
}
|
||||
lineStore.addAllScene(projectInfo.mapInfoLinks || []);
|
||||
}
|
||||
lineStore.setSceneName(sceneName);
|
||||
scene = lineApp.getScene(sceneName);
|
||||
scene.bindDom(dom);
|
||||
scene.reload();
|
||||
onResize();
|
||||
} catch (e) {
|
||||
const error = e as ApiError;
|
||||
$q.notify({
|
||||
@ -181,11 +186,6 @@ onMounted(async () => {
|
||||
message: error.title,
|
||||
});
|
||||
}
|
||||
lineStore.setSceneName(sceneName);
|
||||
scene = lineApp.getScene(sceneName);
|
||||
scene.bindDom(dom);
|
||||
scene.reload();
|
||||
onResize();
|
||||
} else {
|
||||
lineStore.setMapId(null);
|
||||
lineStore.setSimulationId(null);
|
||||
|
Loading…
Reference in New Issue
Block a user