diff --git a/App.jsx b/App.jsx index 3cb4cae..2fcaa6e 100644 --- a/App.jsx +++ b/App.jsx @@ -2062,7 +2062,7 @@ function MainApp({ username, onLogout }) { image: { type: 'jpeg', quality: 0.98 }, html2canvas: { scale: 2 }, jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' }, - pagebreak: { mode: ['css', 'legacy'], before: '.spec-sheet-page-break' }, + pagebreak: { mode: ['css'], before: '.spec-sheet-page-break' }, }).from(el).save(); } catch (e) { notify('导出PDF失败,请重试');