wesmiler 6 лет назад
Родитель
Сommit
57366ef1e5
1 измененных файлов с 1 добавлено и 1 удалено
  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) {