wangfukang 3 years ago
parent
commit
e2a664acfa
  1. 8
      wxcomponents/image-cropper/image-cropper.js

8
wxcomponents/image-cropper/image-cropper.js

@ -65,7 +65,7 @@ Component({
*/
'export_scale': {
type: Number,
value: 3
value: 5
},
/**
* 生成的图片质量0-1
@ -385,9 +385,11 @@ Component({
* 设置剪裁框尺寸
*/
setCutSize(w, h) {
console.log(this.data.img_width)
console.log(this.data.img_height)
this.setData({
width: w,
height: h
width: this.data.img_width,
height: this.data.img_height
});
this._computeCutSize();
},

Loading…
Cancel
Save