gemercheung преди 6 месеца
родител
ревизия
6abe608f7b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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