From 230c425548a56bc8dcf3106e290a54d5b4dc1874 Mon Sep 17 00:00:00 2001
From: 潘浩文 <phw@bronet.cn>
Date: Mon, 22 Oct 2018 17:22:30 +0800
Subject: [PATCH] 1

---
 public/themes/simpleboot3/portal/prize/getScore.html | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/public/themes/simpleboot3/portal/prize/getScore.html b/public/themes/simpleboot3/portal/prize/getScore.html
index eef2c9e..f393447 100644
--- a/public/themes/simpleboot3/portal/prize/getScore.html
+++ b/public/themes/simpleboot3/portal/prize/getScore.html
@@ -144,13 +144,11 @@
 //            }
             });
             function uploadImages(localIds) {
-                var localId = localIds.pop();
                 wx.uploadImage({
-                    localId: localId,
+                    localId: localIds,
                     isShowProgressTips: 1,
                     success: function (res) {
-                        var serverId = res.serverId; // 返回图片的服务器端ID
-                        serverIds += id+':'+serverId + ',';
+                        serverIds = res.serverId;
                     },
                     fail: function (res) {
                         $modal.toast(JSON.stringify(res));
--
libgit2 0.24.0