|
|
@@ -536,11 +536,11 @@ var app = new Vue({
|
|
|
fillColor: '#fff',
|
|
|
};*/
|
|
|
var rate = 1;
|
|
|
- if(data.height >2000 || data.width>2000){
|
|
|
+ /*if(data.height >2000 || data.width>2000){
|
|
|
rate = 0.8;
|
|
|
}else if( data.height < 1000 || data.width<1000){
|
|
|
rate = 1.5;
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
_this.cropParams.cropData = {
|
|
|
width: data.width * rate,
|
|
|
@@ -658,11 +658,11 @@ var app = new Vue({
|
|
|
$("#cropImg").cropper("zoom", rate);
|
|
|
}
|
|
|
|
|
|
- $("#cropImg").cropper(_this.options);
|
|
|
+ /* $("#cropImg").cropper(_this.options);
|
|
|
$("#cropImg").cropper('setData', {
|
|
|
width: iWidth,
|
|
|
height: height
|
|
|
- });
|
|
|
+ });*/
|
|
|
},
|
|
|
// 确定剪切
|
|
|
cropConfirm: function () {
|