打印组件修改
This commit is contained in:
		| @@ -7466,10 +7466,11 @@ | ||||
|               }, t.prototype.mathroundToporleft = function (t) { | ||||
|                 var e = p.a.instance.movingDistance; | ||||
|                 return Math.round(t / e) * e | ||||
|               }, t.prototype.appendDesignPrintElement = function (t, e, i) { | ||||
|               }, t.prototype.appendDesignPrintElement = function (t, e, i, className) { | ||||
|                 e.setCurrenttemplateData(void 0); | ||||
|                 var n = e.getDesignTarget(t); | ||||
|                 n.addClass("design"), i && e.initSizeByHtml(n), t.append(n) | ||||
|                 const isAddClass = !!e.options.field | ||||
|                 n.addClass(`design ${isAddClass ? 'dynamicField' : ''}`), i && e.initSizeByHtml(n), t.append(n) | ||||
|               }, t.prototype.createNewPage = function (t, e) { | ||||
|                 t = new T(this.templateId, this.index, this.watermarkOptions, this.panelPageRule, this.scale, this.width, this.height, this.paperHeader, this.paperFooter, this.paperNumberLeft, this.paperNumberTop, this.paperNumberDisabled, this.paperNumberContinue, this.paperNumberFormat, t, e); | ||||
|                 return t.setFooter(this.firstPaperFooter, this.evenPaperFooter, this.oddPaperFooter, this.lastPaperFooter), t.setOffset(this.leftOffset, this.topOffset), t | ||||
|   | ||||
		Reference in New Issue
	
	Block a user