Skip to content

Commit 555ae5f

Browse files
houjinyunhjy
andauthored
fix: 🐛 签字版组件设置exportScale < 1时在支付宝上导出图片不完整 (#1129)
Co-authored-by: hjy <yunye.hjy@dtyunxi.com>
1 parent 9132174 commit 555ae5f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/uni_modules/wot-design-uni/components/wd-signature/wd-signature.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,8 @@ function canvasToImage() {
532532
const { canvasWidth, canvasHeight } = canvasState
533533
uni.canvasToTempFilePath(
534534
{
535-
width: canvasWidth * exportScale,
536-
height: canvasHeight * exportScale,
535+
width: canvasWidth,
536+
height: canvasHeight,
537537
destWidth: canvasWidth * exportScale,
538538
destHeight: canvasHeight * exportScale,
539539
fileType,

0 commit comments

Comments
 (0)