...
|
...
|
@@ -158,12 +158,14 @@ |
|
|
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
|
|
|
success: function (res) {
|
|
|
$(res.localIds).each(function (key, localId) {
|
|
|
console.log('44444444444444444444444444')
|
|
|
uploadImages(localId,2);
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
function uploadImages(localId,type) {
|
|
|
console.log('555555555555555555')
|
|
|
wx.uploadImage({
|
|
|
localId: localId,
|
|
|
isShowProgressTips: 1,
|
...
|
...
|
|