Commit 5a4a0e7987a0748f139945d80edcc7dd9859edca
1 parent
14392d97
用户名称不能修改
Showing
1 changed file
with
1 additions
and
1 deletions
ruoyi-ui/src/views/system/user/index.vue
| ... | ... | @@ -222,7 +222,7 @@ |
| 222 | 222 | </el-form-item> |
| 223 | 223 | </el-col> |
| 224 | 224 | <el-col :span="12"> |
| 225 | - <el-form-item label="用户名称" prop="userName"> | |
| 225 | + <el-form-item v-if="form.userId == undefined" label="用户名称" prop="userName"> | |
| 226 | 226 | <el-input v-model="form.userName" placeholder="请输入用户名称" /> |
| 227 | 227 | </el-form-item> |
| 228 | 228 | </el-col> | ... | ... |