wesmiler hace 6 años
padre
commit
710bae03c1
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. 3 4
      public/static/weixin/js/photo.js

+ 3 - 4
public/static/weixin/js/photo.js

@@ -634,7 +634,6 @@ var app = new Vue({
             var files = ele.target.files;
             var id = _this.picList.length-1;
             if (files.length > 0) {
-                var count = _this.picList.length;
                 $.each(files, function (k, file) {
                     if (file) {
                         var reader = new FileReader();
@@ -651,16 +650,16 @@ var app = new Vue({
                                 file_size: file.size,
                                 file_type: file.type
                             };
-                            _this.picList.push(img);
+                            // _this.picList.push(img);
 
                             _this.picEdit(id);
                         }
                     }
                 })
 
-                if (count > 0) {
+                /*if (count > 0) {
                     _this.getFileList(0);
-                }
+                }*/
             }
 
         }