mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-03-08 00:34:01 +08:00
[fix]修复图片裁剪不剧中的bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user