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 @@ +