diff --git a/ui/src/views/system/user-manage/component/UserDrawer.vue b/ui/src/views/system/user-manage/component/UserDrawer.vue index e30659ae1..e49dc1f05 100644 --- a/ui/src/views/system/user-manage/component/UserDrawer.vue +++ b/ui/src/views/system/user-manage/component/UserDrawer.vue @@ -300,9 +300,9 @@ const open = (data: any) => { userManageApi.getSystemDefaultPassword().then((res: any) => { userForm.value.password = res.data.password }) - if (memberFormContentRef.value) { - memberFormContentRef.value.resetValidation() - } + } + if (memberFormContentRef.value) { + memberFormContentRef.value.resetValidation() } visible.value = true