畅快睫毛膏

文章
3
资源
0
加入时间
3年0月28天

微信小程序保存图片到本地

1.获取图片链接后将图片保存到本地2.此处使用的是uniapp开发微信小程序,如果使用原生开发,将uni改成wx就可以了save(imgUrl){ wx.getSetting({ success:function(res){ if (!res.authSetting['scope.writePhotosAlbum']){ uni.authorize({ scope: 'scope.writePhotos