소스 검색

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

hbchen 9 달 전
부모
커밋
1289f62fe0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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; // 防止图表盒子、图片盒子被分割到两页
     }
 }