wesmiler před 6 roky
rodič
revize
57366ef1e5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      public/static/weixin/js/photo.js

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

@@ -632,7 +632,7 @@ var app = new Vue({
         selectPic: function (ele) {
             var _this = this;
             var files = ele.target.files;
-            var id = _this.picList.length;
+            var id = _this.picList.length-1;
             if (files.length > 0) {
                 var count = _this.picList.length;
                 $.each(files, function (k, file) {