修复图片组件

This commit is contained in:
yanran200830
2024-10-31 11:37:41 +08:00
parent 56ee90ed30
commit 11a9972329
4 changed files with 124558 additions and 111686 deletions

View File

@@ -41,7 +41,7 @@ export const customProvider = function () {
$(`body>#codewrapper-${elId}`).remove()
const resizeObserver = new ResizeObserver(() => {
JsBarcode('#' + elId, printData.labelCode, {
JsBarcode('#' + elId, printData.labelCode, {
format: "CODE128B",
width: 2,
height: parseInt(hinnn.pt.toPx(options.height - 22).toString()) * 0.6,
@@ -119,6 +119,7 @@ export const customProvider = function () {
title: '图片',
type: 'image',
options: {
contain: 'contain',
src: 'http://lyshunong.oss-cn-beijing.aliyuncs.com/image/material/a6e14259412606502e49f1abd866039.png',
}
}