Houjie
2025-04-25 1d18ff904468e4a864312bdcf6d7c6a7c0477721
pages/user/useredit.vue
@@ -170,7 +170,7 @@
               sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
               sourceType: ['album'], //从相册选择
               success: (res) => {
                  that.$http.upload(that.$config.apiUrl+that.uploadUrl, {
                  that.$http.upload(that.uploadUrl, {
                        filePath: res.tempFilePaths[0],
                        name: 'file'
                     })
@@ -180,6 +180,7 @@
                     .catch(err => {
                        that.$tip.error(err.data.message)
                     });
                     console.log(res.tempFilePaths)
                  this.imgList = res.tempFilePaths
               }
            });