Przeglądaj źródła

限制标签条码大小

cfort 2 lat temu
rodzic
commit
f8b5327200

+ 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;