diff --git a/src/editor/core/draw/Draw.ts b/src/editor/core/draw/Draw.ts index 7c32093..a00d215 100644 --- a/src/editor/core/draw/Draw.ts +++ b/src/editor/core/draw/Draw.ts @@ -1788,7 +1788,9 @@ export class Draw { // 绘制背景 this.background.render(ctx, pageNo) // 绘制页边距 - this.margin.render(ctx, pageNo) + if (this.mode !== EditorMode.PRINT) { + this.margin.render(ctx, pageNo) + } // 渲染元素 const index = rowList[0].startIndex this.drawRow(ctx, {