密码重置功能优化
This commit is contained in:
@@ -515,7 +515,7 @@ const handleStatusChange = async (record: UserVO, checked: boolean) => {
|
||||
const handleResetPassword = (record: UserVO) => {
|
||||
Modal.confirm({
|
||||
title: '确认重置密码',
|
||||
content: `确定要将用户 ${record.nickname} 的密码重置为 88888888 吗?`,
|
||||
content: `确定要将用户 ${record.nickname} 的密码重置为 888888 吗?`,
|
||||
onOk: async () => {
|
||||
try {
|
||||
await userApi.resetPassword(record.id)
|
||||
|
||||
Reference in New Issue
Block a user