feat: jsPDF

This commit is contained in:
hyper
2026-02-27 20:27:26 +08:00
parent ec5a00fa94
commit f32bbe59b3
6 changed files with 355 additions and 37 deletions
+4 -4
View File
@@ -103,12 +103,12 @@ customElement<DeckProps>('md-deck', {
return (
<div class="md-deck mb-4">
{/* 打印预览弹窗 */}
<Show when={store.state.isPrinting}>
{/* 导出 PDF 预览弹窗 */}
<Show when={store.state.isExporting}>
<PrintPreview
store={store}
onClose={() => store.actions.setPrinting(false)}
onPrint={() => window.print()}
onClose={() => store.actions.setExporting(false)}
onExport={() => {}}
/>
</Show>