修复图片组件
This commit is contained in:
118117
node_modules/vue-plugin-hiprint/dist/vue-plugin-hiprint.js
generated
vendored
118117
node_modules/vue-plugin-hiprint/dist/vue-plugin-hiprint.js
generated
vendored
File diff suppressed because one or more lines are too long
@@ -36,6 +36,10 @@
|
||||
<i class="iconfont"></i>
|
||||
<span>圆形</span>
|
||||
</div>
|
||||
<div class="ep-draggable-item item" tid="defaultModule.image">
|
||||
<i class="iconfont"></i>
|
||||
<span>图片</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="title">常用元素</div>
|
||||
<div class="left-item__wrapper" id="custom-provider">
|
||||
@@ -459,7 +463,8 @@
|
||||
top: 58.5,
|
||||
src: src,
|
||||
width: 100,
|
||||
height: 100
|
||||
height: 100,
|
||||
fit: 'contain'
|
||||
}
|
||||
})
|
||||
const el = this.hiprintTemplate.printPanels[0].printElements.at(-1)
|
||||
|
||||
@@ -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',
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user