wesmiler 6 jaren geleden
bovenliggende
commit
5235360186
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      public/static/weixin/js/photo.js

+ 2 - 2
public/static/weixin/js/photo.js

@@ -539,7 +539,7 @@ var app = new Vue({
                     _this.cropParams.cropData = {
                         width: iWidth*10,
                         height: iHeight*10,
-                        rotate: data.rotate,
+                        // rotate: data.rotate,
                         // imageSmoothingQuality: 'high',
                         fillColor: '#fff',
                     };
@@ -672,7 +672,7 @@ var app = new Vue({
                 var url = canvas.toDataURL('image/jpeg');
                 var timestamp = Date.parse(new Date());
                 var name = timestamp + ".jpg";
-         
+
                 if(_this.cropParams.type>0 && id>=0){
                     alert(34)
                     _this.picList[id] = _this.cropParams;