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
|
const { canvasWidth, canvasHeight } = canvasState
|
||||||
uni.canvasToTempFilePath(
|
uni.canvasToTempFilePath(
|
||||||
{
|
{
|
||||||
width: canvasWidth * exportScale,
|
width: canvasWidth,
|
||||||
height: canvasHeight * exportScale,
|
height: canvasHeight,
|
||||||
destWidth: canvasWidth * exportScale,
|
destWidth: canvasWidth * exportScale,
|
||||||
destHeight: canvasHeight * exportScale,
|
destHeight: canvasHeight * exportScale,
|
||||||
fileType,
|
fileType,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user