From 5d74e7aff082dc2a1b1a1ba3773cf81f6e172a9f Mon Sep 17 00:00:00 2001 From: bighuixiang <472705331@qq.com> Date: Tue, 22 Jul 2025 21:46:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=EF=BC=8C=E4=BC=98=E5=8C=96=E5=9B=BE=E5=B1=82?= =?UTF-8?q?=E6=81=A2=E5=A4=8D=E5=92=8C=E5=AF=BC=E5=87=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/Canvas/CanvasEditor/commands/LayerCommands.js | 1 - src/component/Canvas/CanvasEditor/managers/ExportManager.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/component/Canvas/CanvasEditor/commands/LayerCommands.js b/src/component/Canvas/CanvasEditor/commands/LayerCommands.js index 85523f50..97f551be 100644 --- a/src/component/Canvas/CanvasEditor/commands/LayerCommands.js +++ b/src/component/Canvas/CanvasEditor/commands/LayerCommands.js @@ -621,7 +621,6 @@ export class RemoveLayerCommand extends Command { // 恢复图层到原位置 if (this.layerIndex !== -1 && this.removedLayer) { this.layers.value.splice(this.layerIndex, 0, this.removedLayer); - debugger; // 使用优化渲染批处理恢复真实对象到画布 await optimizeCanvasRendering(this.canvas, () => { diff --git a/src/component/Canvas/CanvasEditor/managers/ExportManager.js b/src/component/Canvas/CanvasEditor/managers/ExportManager.js index 6e472b5c..41d1007d 100644 --- a/src/component/Canvas/CanvasEditor/managers/ExportManager.js +++ b/src/component/Canvas/CanvasEditor/managers/ExportManager.js @@ -619,7 +619,6 @@ export class ExportManager { // this.canvasManager?.canvasHeight?.value || this.canvas.height; // console.log(`普通模式导出,画布尺寸: ${canvasWidth}x${canvasHeight}`); - debugger; // 使用图层栅格化的方法导出图片 const dataURL = await createRasterizedImage({ canvas: this.canvas,