From aa24a51d04fcb324dfc19a1488ea53fa9d7ab644 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Sat, 10 Aug 2024 10:43:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/request2.js | 2 +- src/pages/setter/passwordpage.vue | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/api/request2.js b/src/api/request2.js index 24d9af7e..c8dbcd30 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -92,7 +92,7 @@ export function updateUserPwd(oldPassword, newPassword) { return request({ url: baseApi + '/system/user/profile/update-password', method: 'PUT', - params: data + data: data }) } diff --git a/src/pages/setter/passwordpage.vue b/src/pages/setter/passwordpage.vue index 72434c61..8a2fa82d 100644 --- a/src/pages/setter/passwordpage.vue +++ b/src/pages/setter/passwordpage.vue @@ -14,11 +14,15 @@ +