Commit ed0c95b6 authored by Mac's avatar Mac

1

parent cdb2145b
...@@ -788,13 +788,13 @@ ...@@ -788,13 +788,13 @@
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有 sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
success: function (res) { success: function (res) {
that.upFile(res.tempFilePaths[0],type) that.upFile2(res.tempFilePaths[0],type)
} }
}); });
}, },
upFile(img,type){ upFile2(img,type){
//图片上传 //图片上传
var that = this; var that = this;
wx.showLoading({ title: '上传中' }) wx.showLoading({ title: '上传中' })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment