邓洁: 修改用户bug

This commit is contained in:
邓洁
2023-12-29 19:00:54 +08:00
parent 6eb8d73594
commit 11f9de9389

View File

@@ -297,7 +297,11 @@ const handleSubmit = async (formInstance) => {
}
})
} else {
await editUser(data).then(res => {
const editData={
userId:form.value.userId,
...data
}
await editUser(editData).then(res => {
if (res.code === 1000) {
getInfo()
isVisited.value = false