소스 검색

限制标签条码大小

cfort 2 년 전
부모
커밋
f8b5327200
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      src/business/platform/data/templaterender/components/print.vue

+ 6 - 0
src/business/platform/data/templaterender/components/print.vue

@@ -165,11 +165,17 @@
                 }
             }
             .barcode {
+                width: 100%;
                 position: absolute;
                 text-align: center;
                 bottom: 4px;
                 left: 0;
                 right: 0;
+                :global {
+                    .vue-barcode-element {
+                        widows: 100% !important;
+                    }
+                }
             }
             &:last-child {
                 margin-bottom: 0;