psl切换地图数据不更新调整

This commit is contained in:
joylink_fanyuhong 2024-03-27 15:48:12 +08:00
parent f0db7a70ab
commit 9c95c229e5
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ watch(
if (!container) return;
const pslScene = pslStore.getPslScene();
pslScene?.bindDom(container);
await pslScene?.reload();
await pslScene?.forceReload();
if (pslScene) {
pslCanvasWidth.value = pslScene.canvas.width;
pslCanvasHeight.value = pslScene.canvas.height;