修复图片组件

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

File diff suppressed because one or more lines are too long

View File

@@ -36,6 +36,10 @@
<i class="iconfont">&#xe76a;</i>
<span>圆形</span>
</div>
<div class="ep-draggable-item item" tid="defaultModule.image">
<i class="iconfont">&#xe76a;</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)

View File

@@ -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