取消编辑字典类型时设置字典类型元素为不可编辑状态

This commit is contained in:
dearliuliu0522 2022-04-22 16:28:52 +08:00
parent 80629da1bd
commit 4f6984b021

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 :disabled="form.id !== null" v-model="form.type" placeholder="请输入字典类型" /> <el-input 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">