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

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

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