|
@@ -611,7 +611,7 @@ var app = new Vue({
|
|
|
image.src = _this.cropParams.url;
|
|
image.src = _this.cropParams.url;
|
|
|
var width = image.width;
|
|
var width = image.width;
|
|
|
var height = image.height;*/
|
|
var height = image.height;*/
|
|
|
- console.log(image);
|
|
|
|
|
|
|
+
|
|
|
if(data.height<data.width){
|
|
if(data.height<data.width){
|
|
|
$("#cropImg").cropper("rotate", 90);
|
|
$("#cropImg").cropper("rotate", 90);
|
|
|
}
|
|
}
|