調整列印時的尺寸,還有問題

This commit is contained in:
2026-07-03 17:46:08 +08:00
parent 301d329add
commit 8d8cf9fed4
@@ -426,7 +426,7 @@
//用來印內容的尺寸
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);
@@ -529,7 +529,7 @@
height:auto !important;
}
@page {
size:${pageSize.width}mm ${pageSize.height}mm !important;
size:${printSize.width}mm ${printSize.height}mm !important;
margin:0;
}
html, body, form, .full-home, .printArea, .canvas-area {