feat:精简draw服务
This commit is contained in:
@@ -41,20 +41,9 @@ class NumberSortDraw extends BaseDrawService {
|
||||
return;
|
||||
}
|
||||
|
||||
this.setPrintConfig();
|
||||
this.sortData = sortData;
|
||||
this.clear();
|
||||
this.setPaper();
|
||||
|
||||
// 绘制Header
|
||||
if (this.headerType !== 'minimal') {
|
||||
await this.drawHeader();
|
||||
} else {
|
||||
this.drawMiniHeader();
|
||||
}
|
||||
|
||||
// 绘制内容区域
|
||||
this.drawDivider();
|
||||
this.prepareDraw();
|
||||
await this.drawHeaderAndDivider();
|
||||
this.drawContent({
|
||||
ctx: this.ctx,
|
||||
sortData: this.sortData,
|
||||
|
||||
Reference in New Issue
Block a user