完善代码

This commit is contained in:
zhonghua 2026-04-14 17:04:18 +08:00
parent 54aaf421be
commit 565cfc4321

View File

@ -10,7 +10,7 @@
<a-form ref="formRef" :model="form" :rules="currentRules" layout="vertical" class="auth-form"
@keyup.enter="submitForm">
<a-form-item v-if="showNicknameField" name="nickname" label="昵称">
<a-input v-model:value="form.nickname" placeholder="给自己取个名字吧" size="large" />
<a-input v-model:value="form.nickname" :maxlength="15" placeholder="给自己取个名字吧" size="large" />
</a-form-item>
<a-form-item v-if="showPhoneField" name="phone" label="手机号">