fix: add user failed in admin user list page

This commit is contained in:
RockYang
2024-01-07 10:49:36 +08:00
parent 803bc2d9fc
commit 706aacd8e6
2 changed files with 7 additions and 4 deletions

View File

@@ -70,7 +70,7 @@
>
<el-form :model="user" label-width="100px" ref="userEditFormRef" :rules="rules">
<el-form-item label="手机号" prop="username">
<el-input v-model="user.mobile" autocomplete="off"/>
<el-input v-model="user.username" autocomplete="off"/>
</el-form-item>
<el-form-item v-if="add" label="密码" prop="password">
<el-input v-model="user.password" autocomplete="off"/>