Browse Source

!44 fix 个人信息修改密码接口隐藏新旧密码参数明文
Merge pull request !44 from Bleachtred/ts

疯狂的狮子Li 1 year ago
parent
commit
8ed32775cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/api/system/user/index.ts

+ 1 - 1
src/api/system/user/index.ts

@@ -136,7 +136,7 @@ export const updateUserPwd = (oldPassword: string, newPassword: string) => {
     headers: {
       isEncrypt: true
     },
-    params: data
+    data: data
   });
 };