Update App.jsx via upload script - 2026-07-29 09:29:59
This commit is contained in:
parent
0adb1045d6
commit
9e5e88e9a7
2
App.jsx
2
App.jsx
|
|
@ -2062,7 +2062,7 @@ function MainApp({ username, onLogout }) {
|
||||||
image: { type: 'jpeg', quality: 0.98 },
|
image: { type: 'jpeg', quality: 0.98 },
|
||||||
html2canvas: { scale: 2 },
|
html2canvas: { scale: 2 },
|
||||||
jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' },
|
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();
|
}).from(el).save();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
notify('导出PDF失败,请重试');
|
notify('导出PDF失败,请重试');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue