Skip to content

Commit

Permalink
🐛 修复新建字典项没有携带默认状态的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Hccake committed Nov 8, 2022
1 parent 49e26c3 commit 8552861
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/system/dict/SysDictItemPageForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
<a-input v-decorator="['id']" />
</a-form-item>

<a-form-item v-if="isCreateForm" style="display: none">
<a-input v-decorator="['status', { initialValue: 1 }]" />
</a-form-item>

<a-form-item label="字典标识">
<a-input v-decorator="['dictCode']" placeholder="字典标识" :disabled="true" />
</a-form-item>
Expand Down

0 comments on commit 8552861

Please sign in to comment.