From 43c99c1fd9ea421fff9986e7dc0ca3b431254841 Mon Sep 17 00:00:00 2001 From: Aisen Date: Fri, 20 Sep 2024 15:15:50 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E8=A3=81=E5=89=AA=E4=B8=8D=E5=89=A7=E4=B8=AD=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tuniao-ui/components/tn-cropper/index.wxs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tuniao-ui/components/tn-cropper/index.wxs b/tuniao-ui/components/tn-cropper/index.wxs index 0181a93..a9c824c 100644 --- a/tuniao-ui/components/tn-cropper/index.wxs +++ b/tuniao-ui/components/tn-cropper/index.wxs @@ -46,8 +46,8 @@ function propChange(prop, oldProp, ownerInstance, instance) { cropper.canvasHeight = +dataset.height cropper.imgTop = +dataset.windowheight / 2 cropper.imgLeft = +dataset.windowwidth / 2 - cropper.imgWidth = +dataset.imgwidth - cropper.imgHeight = +dataset.imgheight + cropper.imgWidth = +dataset.width + cropper.imgHeight = +dataset.height cropper.windowHeight = +dataset.windowheight cropper.windowWidth = +dataset.windowwidth cropper.init = false