【优化】编辑字典类型时设置字典类型元素为不可编辑状态

This commit is contained in:
dearliuliu0522 2022-04-22 16:34:52 +08:00
parent 4f6984b021
commit c348fc2a19
1 changed files with 1 additions and 1 deletions

View File

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