This commit is contained in:
xiaojunnuo
2025-08-07 18:52:20 +08:00
parent 013b9c4c7c
commit 4019b7939a
3 changed files with 16 additions and 9 deletions
@@ -32,7 +32,7 @@
</a-tab-pane>
<a-tab-pane key="email" tab="邮箱注册" :disabled="!settingsStore.sysPublic.emailRegisterEnabled">
<template v-if="registerType === 'email'">
<a-form-item required has-feedback name="username" label="用户名">
<a-form-item required has-feedback name="username" label="用户名" :rules="rules.username">
<a-input v-model:value="formState.username" placeholder="用户名" size="large" autocomplete="off">
<template #prefix>
<fs-icon icon="ion:person-outline"></fs-icon>