This commit is contained in:
李志鹏
2026-01-19 15:26:04 +08:00
parent 94b9977ef6
commit 9613d2b5b2
2 changed files with 7 additions and 8 deletions

View File

@@ -1371,7 +1371,7 @@ export class CanvasManager {
// 重置画布数据
await this.setCanvasSize(this.canvas.width, this.canvas.height);
await this.centerBackgroundLayer(this.canvas.width, this.canvas.height);
await this.createOtherLayers(this.props.otherData);
// await this.createOtherLayers(this.props.otherData);
// 重新构建对象关系
// restoreObjectLayerAssociations(this.layers.value, this.canvas.getObjects());
// 验证图层关联关系 - 稳定后可以注释
@@ -1401,7 +1401,6 @@ export class CanvasManager {
await this.layerManager?.updateLayersObjectsInteractivity?.();
await calllBack?.();
this.emit("canvas-load-json-success");
// 更新所有缩略图
setTimeout(() => {
this.updateAllThumbnails();