From b155d9db2259fe7ae4cee232a6faf93969f632a3 Mon Sep 17 00:00:00 2001 From: hanshiyang Date: Tue, 23 Sep 2025 10:53:54 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E6=B0=B4?= =?UTF-8?q?=E5=8D=B0=E5=92=8C=E9=A1=B5=E8=84=9A=E5=B9=B6=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除编辑器选项中的水印配置 - 注释掉页脚显示 - 更新文档标题为"教材在线编辑器"和"测试数据" --- src/main.ts | 16 ++++++++-------- src/mock.ts | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main.ts b/src/main.ts index ac0d2e0..76e8841 100644 --- a/src/main.ts +++ b/src/main.ts @@ -38,12 +38,12 @@ window.onload = function () { { header: [ { - value: '第一人民医院', + value: '教材在线编辑器', size: 32, rowFlex: RowFlex.CENTER }, { - value: '\n门诊病历', + value: '\n测试数据', size: 18, rowFlex: RowFlex.CENTER }, @@ -53,12 +53,12 @@ window.onload = function () { } ], main: data, - footer: [ - { - value: 'canvas-editor', - size: 12 - } - ] + // footer: [ + // { + // value: 'canvas-editor', + // size: 12 + // } + // ] }, options ) diff --git a/src/mock.ts b/src/mock.ts index c74a257..90cab66 100644 --- a/src/mock.ts +++ b/src/mock.ts @@ -488,10 +488,10 @@ export const commentList: IComment[] = [ export const options: IEditorOption = { margins: [100, 120, 100, 120], - watermark: { - data: 'CANVAS-EDITOR', - size: 120 - }, + // watermark: { + // data: 'CANVAS-EDITOR', + // size: 120 + // }, pageNumber: { format: '第{pageNo}页/共{pageCount}页' },