diff --git a/src/App.vue b/src/App.vue index a1d0b12..cc97974 100644 --- a/src/App.vue +++ b/src/App.vue @@ -227,7 +227,7 @@ export default { display: flex; justify-content: flex-start; text-align: left; - + page-break-inside: avoid; .line { width: 2px; float: left; @@ -469,7 +469,7 @@ th { display: flex; justify-content: flex-start; text-align: left; - + page-break-inside: avoid; .line { width: 2px; float: left; diff --git a/src/components/Template/LineLabel.vue b/src/components/Template/LineLabel.vue index bed5f80..bb81369 100644 --- a/src/components/Template/LineLabel.vue +++ b/src/components/Template/LineLabel.vue @@ -24,6 +24,7 @@ justify-content: flex-start; text-align: left; margin-top: 20px; + page-break-inside: avoid; .line { width: 2px; float: left; diff --git a/src/views/business/study/comp/jhbd/Xq.vue b/src/views/business/study/comp/jhbd/Xq.vue index f2c7b19..a4054c6 100644 --- a/src/views/business/study/comp/jhbd/Xq.vue +++ b/src/views/business/study/comp/jhbd/Xq.vue @@ -414,6 +414,7 @@ export default { width: 100%; background: #f9f9ff; font-size: 0.96rem; + page-break-inside: avoid; font-weight: bold; padding-left: 10px; height: 40px; diff --git a/src/views/business/study/comp/sqbd/Xq.vue b/src/views/business/study/comp/sqbd/Xq.vue index d170488..bec2c0c 100644 --- a/src/views/business/study/comp/sqbd/Xq.vue +++ b/src/views/business/study/comp/sqbd/Xq.vue @@ -418,6 +418,7 @@ export default { font-weight: bold; padding-left: 10px; height: 40px; + page-break-inside: avoid; line-height: 40px; display: flex; justify-content: flex-start; diff --git a/src/views/business/study/comp/tbbd/Xq.vue b/src/views/business/study/comp/tbbd/Xq.vue index 1f6a2e6..5146c73 100644 --- a/src/views/business/study/comp/tbbd/Xq.vue +++ b/src/views/business/study/comp/tbbd/Xq.vue @@ -423,6 +423,7 @@ export default { font-weight: bold; padding-left: 10px; height: 40px; + page-break-inside: avoid; line-height: 40px; display: flex; justify-content: flex-start;