update 优化 跟密码相关的默认前端关闭防重功能

This commit is contained in:
疯狂的狮子Li
2024-05-08 15:33:31 +08:00
parent 72ca7a1aae
commit e7dc8e94c7
3 changed files with 10 additions and 5 deletions

View File

@ -86,7 +86,8 @@ export const resetUserPwd = (userId: string | number, password: string) => {
url: '/system/user/resetPwd',
method: 'put',
headers: {
isEncrypt: true
isEncrypt: true,
repeatSubmit: false
},
data: data
});
@ -145,7 +146,8 @@ export const updateUserPwd = (oldPassword: string, newPassword: string) => {
url: '/system/user/profile/updatePwd',
method: 'put',
headers: {
isEncrypt: true
isEncrypt: true,
repeatSubmit: false
},
data: data
});