|
|
|
|
@ -494,7 +494,7 @@ export class Draw {
|
|
|
|
|
|
|
|
|
|
public getValue(): IEditorResult {
|
|
|
|
|
// 配置
|
|
|
|
|
const { width, height, margins, watermark } = this.options
|
|
|
|
|
const { width, height, margins, watermark, header } = this.options
|
|
|
|
|
// 数据
|
|
|
|
|
const data = zipElementList(this.elementList)
|
|
|
|
|
return {
|
|
|
|
|
@ -502,6 +502,7 @@ export class Draw {
|
|
|
|
|
width,
|
|
|
|
|
height,
|
|
|
|
|
margins,
|
|
|
|
|
header: header.data ? header : undefined,
|
|
|
|
|
watermark: watermark.data ? watermark : undefined,
|
|
|
|
|
data
|
|
|
|
|
}
|
|
|
|
|
|