Commit f3d95013 authored by tyyin lan's avatar tyyin lan

fix(个人设置): 用户信息更新失败

parent 0924d371
......@@ -106,7 +106,7 @@ function handleAvatarUpload(e: Event) {
}
function handleUserInfoFormItemEditUpdate(key: keyof typeof userInfoFormItemEdit, isSave = false) {
userInfoForm.value[key] = userInfo.value[key]
!isSave && (userInfoForm.value[key] = userInfo.value[key])
userInfoFormItemEdit[key] = !userInfoFormItemEdit[key]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment