refactor: 移除水印和页脚并更新标题文本

- 移除编辑器选项中的水印配置
- 注释掉页脚显示
- 更新文档标题为"教材在线编辑器"和"测试数据"
This commit is contained in:
hanshiyang 2025-09-23 10:53:54 +08:00
parent 558a5e7af3
commit b155d9db22
2 changed files with 12 additions and 12 deletions

View File

@ -38,12 +38,12 @@ window.onload = function () {
{ {
header: [ header: [
{ {
value: '第一人民医院', value: '教材在线编辑器',
size: 32, size: 32,
rowFlex: RowFlex.CENTER rowFlex: RowFlex.CENTER
}, },
{ {
value: '\n门诊病历', value: '\n测试数据',
size: 18, size: 18,
rowFlex: RowFlex.CENTER rowFlex: RowFlex.CENTER
}, },
@ -53,12 +53,12 @@ window.onload = function () {
} }
], ],
main: <IElement[]>data, main: <IElement[]>data,
footer: [ // footer: [
{ // {
value: 'canvas-editor', // value: 'canvas-editor',
size: 12 // size: 12
} // }
] // ]
}, },
options options
) )

View File

@ -488,10 +488,10 @@ export const commentList: IComment[] = [
export const options: IEditorOption = { export const options: IEditorOption = {
margins: [100, 120, 100, 120], margins: [100, 120, 100, 120],
watermark: { // watermark: {
data: 'CANVAS-EDITOR', // data: 'CANVAS-EDITOR',
size: 120 // size: 120
}, // },
pageNumber: { pageNumber: {
format: '第{pageNo}页/共{pageCount}页' format: '第{pageNo}页/共{pageCount}页'
}, },