From e5664351d1ebcbabe0c2ab87bcb4553557feb78e Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期五, 25 四月 2025 15:03:48 +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