正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -128,6 +128,7 @@ | @@ -128,6 +128,7 @@ | ||
128 | // } | 128 | // } |
129 | // | 129 | // |
130 | // } | 130 | // } |
131 | + var serverIds = ''; | ||
131 | wx.ready(function () { | 132 | wx.ready(function () { |
132 | $('#imghead').click(function () { | 133 | $('#imghead').click(function () { |
133 | // var id = $(this).attr('id'); | 134 | // var id = $(this).attr('id'); |
@@ -149,8 +150,7 @@ wx.ready(function () { | @@ -149,8 +150,7 @@ wx.ready(function () { | ||
149 | localId: localIds, | 150 | localId: localIds, |
150 | isShowProgressTips: 1, | 151 | isShowProgressTips: 1, |
151 | success: function (res) { | 152 | success: function (res) { |
152 | - var serverId = res.serverId; // 返回图片的服务器端ID | ||
153 | - serverIds += id+':'+serverId + ','; | 153 | + serverIds = res.serverId; // 返回图片的服务器端ID |
154 | }, | 154 | }, |
155 | fail: function (res) { | 155 | fail: function (res) { |
156 | $modal.toast(JSON.stringify(res)); | 156 | $modal.toast(JSON.stringify(res)); |
-
请 注册 或 登录 后发表评论