gemercheung hai 6 meses
pai
achega
6abe608f7b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/frontend/src/views/profile/index.vue

+ 1 - 1
packages/frontend/src/views/profile/index.vue

@@ -84,7 +84,7 @@
     <MeModal ref="profileModalRef" title="修改资料" width="420px" @ok="handleProfileSave()">
       <n-form ref="profileFormRef" :model="profileForm" label-placement="left">
         <n-form-item label="昵称" path="nickName">
-          <n-input v-model:value="profileForm.nickName" placeholder="请输入昵称" />
+          <n-input :maxlength="10" show-count v-model:value="profileForm.nickName" placeholder="请输入昵称" />
         </n-form-item>
         <n-form-item label="性别" path="gender">
           <n-select