fix
This commit is contained in:
@@ -195,7 +195,7 @@ export function PrintPreview(props: PrintPreviewProps) {
|
||||
const handleExportPDF = async () => {
|
||||
const pagesData = pages();
|
||||
const a4Size = getA4Size();
|
||||
|
||||
|
||||
// 创建 jsPDF 实例
|
||||
const pdf = new jsPDF({
|
||||
orientation: orientation() === 'landscape' ? 'landscape' : 'portrait',
|
||||
@@ -217,7 +217,7 @@ export function PrintPreview(props: PrintPreviewProps) {
|
||||
pdf.addPage();
|
||||
}
|
||||
|
||||
const page = pagesData()[i];
|
||||
const page = pagesData[i];
|
||||
const cropData = cropMarks()[i];
|
||||
|
||||
// 绘制外围边框
|
||||
|
||||
Reference in New Issue
Block a user