// 图片上传按钮
uploadImg(){
wx.chooseImage({
count: 1,
success:async res=> {
let filePath = res.tempFilePaths[0]
微信小程序 环境共享--调用方上传图片到资源方
最新推荐文章于 2023-06-10 19:41:30 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
// 图片上传按钮
uploadImg(){
wx.chooseImage({
count: 1,
success:async res=> {
let filePath = res.tempFilePaths[0]