mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-01 17:00:21 +08:00
fix: 移除 RegisterDialog 中重复的用户名验证检查
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user