Skip to content

Commit d9dd0fe

Browse files
committed
feat: 在 PrintPaper 组件中添加 breakBefore 属性以优化打印布局
1 parent 2516a9c commit d9dd0fe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/features/print/components/PrintPaper.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default function PrintPaper(props: PrintPaperProps) {
1414
sx={{
1515
width: '100%',
1616
aspectRatio: `${paperConfig.contentAspectRatio}`,
17+
breakBefore: 'page',
1718
}}
1819
>
1920
{props.children}

0 commit comments

Comments
 (0)