psl切换地图数据不更新调整
This commit is contained in:
parent
f0db7a70ab
commit
9c95c229e5
@ -246,7 +246,7 @@ watch(
|
|||||||
if (!container) return;
|
if (!container) return;
|
||||||
const pslScene = pslStore.getPslScene();
|
const pslScene = pslStore.getPslScene();
|
||||||
pslScene?.bindDom(container);
|
pslScene?.bindDom(container);
|
||||||
await pslScene?.reload();
|
await pslScene?.forceReload();
|
||||||
if (pslScene) {
|
if (pslScene) {
|
||||||
pslCanvasWidth.value = pslScene.canvas.width;
|
pslCanvasWidth.value = pslScene.canvas.width;
|
||||||
pslCanvasHeight.value = pslScene.canvas.height;
|
pslCanvasHeight.value = pslScene.canvas.height;
|
||||||
|
Loading…
Reference in New Issue
Block a user