Parcourir la source

瓶贴最大高度

zengfanwei il y a 1 jour
Parent
commit
5a96b78d31
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/hospitalization/nurse-module/PrintInfusionCard.vue

+ 1 - 1
src/views/hospitalization/nurse-module/PrintInfusionCard.vue

@@ -450,7 +450,7 @@ const execPrint = () => {
   .card-container:nth-child(3n+1) { padding-left: 0; }
 </style>`;
 
-      const PAGE_MAX_HEIGHT = 840; // 页面最大高度阈值(px)
+      const PAGE_MAX_HEIGHT = 1050; // 页面最大高度阈值(px)
       let currentPageHTML = printStyle; // 当前页内容
       let currentPageTotalHeight = 0; // 当前页累计高度(px)
       let currentRowHTML = ''; // 当前行的HTML内容