修复样式bug

This commit is contained in:
yanran200830
2024-10-21 18:10:59 +08:00
parent 5a7058c036
commit 441510a4e4
3 changed files with 27 additions and 3 deletions

View File

@@ -15,8 +15,8 @@ export const customProvider = function (options) {
$('body').append('<svg id="' + elId + '" width="100%" display="block" height="100%" class="hibarcode_imgcode" preserveAspectRatio="none slice"></svg>')
console.log(options.width * 0.8)
JsBarcode('#'+ elId, '1234567890', {
format: "code128",
JsBarcode('#'+ elId, '96778555251', {
format: "CODE128",
width: 2,
height: options.height * 0.6,
margin: 0,