Skip to content

Commit ce7d2ab

Browse files
committed
feat(webui): 用户名长度限制
1 parent cd983e9 commit ce7d2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arona-webui/src/views/config/user/UserProfile.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ onMounted(() => {
4646
<ElDescriptionsItem label="id">{{ user.id }}</ElDescriptionsItem>
4747
<ElDescriptionsItem label="用户名">
4848
<div v-if="updateBasicInfo">
49-
<ElInput v-model="basicInfoForm.username"></ElInput>
49+
<ElInput v-model="basicInfoForm.username" maxlength="15" show-word-limit></ElInput>
5050
</div>
5151
<div v-else>
5252
{{ user.username }}

0 commit comments

Comments
 (0)