From 1d18ff904468e4a864312bdcf6d7c6a7c0477721 Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期五, 25 四月 2025 14:57:36 +0800 Subject: [PATCH] 项目提交 --- pages/user/useredit.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/pages/user/useredit.vue b/pages/user/useredit.vue index 8b259d4..f8c56a8 100644 --- a/pages/user/useredit.vue +++ b/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 } }); -- Gitblit v1.9.3