Explorar el Código

智能下载pdf后,版头与正文内容分开-改

hbchen hace 9 meses
padre
commit
1289f62fe0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/smartReport/detailPdf.vue

+ 1 - 1
src/views/smartReport/detailPdf.vue

@@ -213,7 +213,7 @@ body{
     body{
       display: unset;
     }
-    .report-drag-item-wrap[comp-type="chart"],.report-drag-item-wrap[comp-type="img"]{
+    [comp-type="chart"],[comp-type="img"]{
       page-break-inside: avoid; // 防止图表盒子、图片盒子被分割到两页
     }
 }