【优化】编辑字典类型表单时,字典类型设置为不可编辑

This commit is contained in:
dearliuliu0522 2022-04-22 16:13:04 +08:00
parent 08cb9955c7
commit 80629da1bd

View File

@ -75,7 +75,7 @@
<el-input v-model="form.name" placeholder="请输入字典名称" /> <el-input v-model="form.name" placeholder="请输入字典名称" />
</el-form-item> </el-form-item>
<el-form-item label="字典类型" prop="type"> <el-form-item label="字典类型" prop="type">
<el-input v-model="form.type" placeholder="请输入字典类型" /> <el-input :disabled="form.id !== null" v-model="form.type" placeholder="请输入字典类型" />
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="status"> <el-form-item label="状态" prop="status">
<el-radio-group v-model="form.status"> <el-radio-group v-model="form.status">