fix: 移除 RegisterDialog 中重复的用户名验证检查

This commit is contained in:
fawney19
2026-01-28 00:09:56 +08:00
parent 0c8c774642
commit 0bd3fe32e2

View File

@@ -397,9 +397,6 @@ const canSubmit = computed(() => {
// 用户名格式验证
if (usernameError.value) return false
// 检查用户名格式
if (usernameError.value) return false
// 如果需要邮箱验证,邮箱和验证都必须完成
if (props.requireEmailVerification) {
if (!formData.value.email || !emailVerified.value) {