|
|
@@ -494,9 +494,9 @@ var app = new Vue({
|
|
|
responsive: true,
|
|
|
guides: false,
|
|
|
strict: false,
|
|
|
- // width: iWidth,
|
|
|
+ width: iWidth,
|
|
|
dragMode: 'move',
|
|
|
- // height: iHeight,
|
|
|
+ height: iHeight,
|
|
|
autoCropArea: 1,
|
|
|
cropBoxMovable: false,
|
|
|
cropBoxResizable: false,
|
|
|
@@ -645,6 +645,7 @@ var app = new Vue({
|
|
|
$.showLoading('图片处理中...');
|
|
|
var id = _this.cropParams.id;
|
|
|
$image = $("#cropImg");
|
|
|
+ alert(685456545);
|
|
|
console.log(_this.cropParams)
|
|
|
console.log(JSON.stringify(_this.cropParams))
|
|
|
// var canvas = $image.cropper('getCroppedCanvas');
|