fix: 🐛 签字版组件设置exportScale < 1时在支付宝上导出图片不完整 (#1129)

Co-authored-by: hjy <yunye.hjy@dtyunxi.com>
This commit is contained in:
Jinyun Hou 2025-08-17 14:21:43 +08:00 committed by GitHub
parent 9132174b11
commit 555ae5f400
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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