修复图片组件
This commit is contained in:
@@ -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',
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user