//作用域,不写拿不到值
let that = this;
//获取图片后压缩
uni.downloadFile({
url: that.imgUrlShare,
success: function(images) {
uni.compressImage
uni-app分享微信图片压缩(图文方式分享微信不能超过20k)
最新推荐文章于 2024-04-10 11:52:43 发布
//作用域,不写拿不到值
let that = this;
//获取图片后压缩
uni.downloadFile({
url: that.imgUrlShare,
success: function(images) {
uni.compressImage