瀏覽代碼

导出pdf样式问题

hbchen 9 月之前
父節點
當前提交
de7cb5f7ab
共有 2 個文件被更改,包括 14 次插入11 次删除
  1. 11 11
      public/eta_comp.js
  2. 3 0
      src/views/smartReport/detailPdf.vue

文件差異過大導致無法顯示
+ 11 - 11
public/eta_comp.js


+ 3 - 0
src/views/smartReport/detailPdf.vue

@@ -213,6 +213,9 @@ body{
     body{
       display: unset;
     }
+    .report-drag-item-wrap{
+      page-break-inside: avoid; // 防止盒子被分割到两页
+    }
 }
 
 </style>

部分文件因文件數量過多而無法顯示