Skip to content

Commit

Permalink
fix(projects): Disable username field in user edit
Browse files Browse the repository at this point in the history
  • Loading branch information
paynezhuang committed Jul 11, 2024
1 parent 59b2b8d commit d6cb65b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/manage/user/modules/user-operate-drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ watch(visible, () => {
<NDrawerContent :title="title" :native-scrollbar="false" closable>
<NForm ref="formRef" :model="model" :rules="rules">
<NFormItem :label="$t('page.manage.user.userName')" path="userName">
<NInput v-model:value="model.userName" :placeholder="$t('page.manage.user.form.userName')" />
<NInput v-model:value="model.userName" :placeholder="$t('page.manage.user.form.userName')" :disabled="!isAdd" />
</NFormItem>
<NFormItem :label="$t('page.manage.user.gender')" path="gender">
<NRadioGroup v-model:value="model.gender">
Expand Down

0 comments on commit d6cb65b

Please sign in to comment.