mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 17:18:40 +08:00
fix: 🐛 签字版组件设置exportScale < 1时在支付宝上导出图片不完整 (#1129)
Co-authored-by: hjy <yunye.hjy@dtyunxi.com>
This commit is contained in:
parent
9132174b11
commit
555ae5f400
@ -532,8 +532,8 @@ function canvasToImage() {
|
||||
const { canvasWidth, canvasHeight } = canvasState
|
||||
uni.canvasToTempFilePath(
|
||||
{
|
||||
width: canvasWidth * exportScale,
|
||||
height: canvasHeight * exportScale,
|
||||
width: canvasWidth,
|
||||
height: canvasHeight,
|
||||
destWidth: canvasWidth * exportScale,
|
||||
destHeight: canvasHeight * exportScale,
|
||||
fileType,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user