diff --git a/ui/src/views/system/role/component/MemberFormContent.vue b/ui/src/views/system/role/component/MemberFormContent.vue
index fb07e611b..c95edd631 100644
--- a/ui/src/views/system/role/component/MemberFormContent.vue
+++ b/ui/src/views/system/role/component/MemberFormContent.vue
@@ -109,5 +109,10 @@ const validate = () => {
return Promise.resolve()
}
-defineExpose({ validate })
+const resetValidation = () => {
+ if (formRef.value) {
+ formRef.value.clearValidate()
+ }
+}
+defineExpose({ validate, resetValidation })
diff --git a/ui/src/views/system/user-manage/component/UserDrawer.vue b/ui/src/views/system/user-manage/component/UserDrawer.vue
index 701f184a3..e30659ae1 100644
--- a/ui/src/views/system/user-manage/component/UserDrawer.vue
+++ b/ui/src/views/system/user-manage/component/UserDrawer.vue
@@ -77,18 +77,18 @@