fix: 修复用户名编辑问题

This commit is contained in:
wangdan-fit2cloud 2024-03-25 10:46:29 +08:00
parent f1b04e8a1b
commit f540bbe18d

View File

@ -8,12 +8,13 @@
require-asterisk-position="right"
@submit.prevent
>
<el-form-item prop="username" label="用户名">
<el-form-item :prop="isEdit ? '' : 'username'" label="用户名">
<el-input
v-model="userForm.username"
placeholder="请输入用户名"
maxlength="20"
show-word-limit
:disabled="isEdit"
>
</el-input>
</el-form-item>