調整列印時的尺寸,還有問題
This commit is contained in:
@@ -426,7 +426,7 @@
|
|||||||
|
|
||||||
//用來印內容的尺寸
|
//用來印內容的尺寸
|
||||||
let size = self.allSize.find(y => y.paperID == style.paperSize);
|
let size = self.allSize.find(y => y.paperID == style.paperSize);
|
||||||
let pageSize = self.allSize.find(y => y.paperID == style.printSize);
|
let pageSize = self.allSize.find(y => y.paperID == style.paperSize);
|
||||||
//包含空白用來折的尺寸
|
//包含空白用來折的尺寸
|
||||||
let printSize = self.allSize.find(y => y.paperID == style.printSize);
|
let printSize = self.allSize.find(y => y.paperID == style.printSize);
|
||||||
|
|
||||||
@@ -529,7 +529,7 @@
|
|||||||
height:auto !important;
|
height:auto !important;
|
||||||
}
|
}
|
||||||
@page {
|
@page {
|
||||||
size:${pageSize.width}mm ${pageSize.height}mm !important;
|
size:${printSize.width}mm ${printSize.height}mm !important;
|
||||||
margin:0;
|
margin:0;
|
||||||
}
|
}
|
||||||
html, body, form, .full-home, .printArea, .canvas-area {
|
html, body, form, .full-home, .printArea, .canvas-area {
|
||||||
|
|||||||
Reference in New Issue
Block a user