From 5596984e32fd9d454ceda81a524e166f5a86fabc Mon Sep 17 00:00:00 2001 From: weikun <> Date: Tue, 1 Nov 2022 14:07:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin-vue3/src/api/system/user/profile/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-ui-admin-vue3/src/api/system/user/profile/index.ts b/yudao-ui-admin-vue3/src/api/system/user/profile/index.ts index 3eab59e01..34bbaf8c0 100644 --- a/yudao-ui-admin-vue3/src/api/system/user/profile/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/user/profile/index.ts @@ -16,7 +16,7 @@ export const updateUserProfileApi = (params) => { export const updateUserPwdApi = (oldPassword: string, newPassword: string) => { return request.put({ url: '/system/user/profile/update-password', - params: { + data: { oldPassword: oldPassword, newPassword: newPassword }