用户名称不能修改

This commit is contained in:
RuoYi 2020-04-17 15:17:32 +08:00
parent 14392d9764
commit 5a4a0e7987

View File

@ -222,7 +222,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="用户名称" prop="userName"> <el-form-item v-if="form.userId == undefined" label="用户名称" prop="userName">
<el-input v-model="form.userName" placeholder="请输入用户名称" /> <el-input v-model="form.userName" placeholder="请输入用户名称" />
</el-form-item> </el-form-item>
</el-col> </el-col>