wesmiler 6 years ago
parent
commit
5550d7edec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      public/static/weixin/js/photo.js

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

@@ -669,13 +669,13 @@ var app = new Vue({
                     _this.picList[id].url = url;
                     _this.picList[id].url = url;
                     _this.picList[id].preview = url;
                     _this.picList[id].preview = url;
 
 
-                    _this.picList[id].fileData = _this.dataURLtoFile(url, name);
+                    // _this.picList[id].fileData = _this.dataURLtoFile(url, name);
                 }else{
                 }else{
                     alert(341)
                     alert(341)
                     var data = _this.cropParams;
                     var data = _this.cropParams;
                     data.url = url;
                     data.url = url;
                     data.preview = url;
                     data.preview = url;
-                    data.fileData = _this.dataURLtoFile(url, name);
+                    // data.fileData = _this.dataURLtoFile(url, name);
                     _this.picList.push(data);
                     _this.picList.push(data);
                 }
                 }
                 alert(35)
                 alert(35)