ソースを参照

导出pdf样式问题

hbchen 11 ヶ月 前
コミット
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>

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません