Commit 97ca6401 by 陈玉桐

fix

parent 8d422c61
......@@ -214,9 +214,6 @@ export default {
success: function (res) {
// alert(JSON.stringify(res))
// alert('微信分享初始化成功')
}
})
wx.chooseImage({
count: 1, // 默认9
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
......@@ -226,6 +223,8 @@ export default {
this.uploadPic = res.localIds // 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片
}
});
}
})
})
wx.error(function(res){})
}else{
......
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