Skip to content

Commit

Permalink
fix: 字典编码不允许修改
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed May 15, 2024
1 parent 9504717 commit 0a6cd6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/system/dict/DictAddModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const options: Options = {
const columns: Columns = [
{ label: '名称', field: 'name', type: 'input', rules: [{ required: true, message: '请输入名称' }] },
{ label: '编码', field: 'code', type: 'input', rules: [{ required: true, message: '请输入编码' }] },
{ label: '编码', field: 'code', type: 'input', disabled: () => isUpdate.value, rules: [{ required: true, message: '请输入编码' }] },
{
label: '描述',
field: 'description',
Expand Down

0 comments on commit 0a6cd6e

Please sign in to comment.