Skip to content

Commit 8552861

Browse files
committedNov 8, 2022
🐛 修复新建字典项没有携带默认状态的问题
1 parent 49e26c3 commit 8552861

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/views/system/dict/SysDictItemPageForm.vue

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<a-input v-decorator="['id']" />
1010
</a-form-item>
1111

12+
<a-form-item v-if="isCreateForm" style="display: none">
13+
<a-input v-decorator="['status', { initialValue: 1 }]" />
14+
</a-form-item>
15+
1216
<a-form-item label="字典标识">
1317
<a-input v-decorator="['dictCode']" placeholder="字典标识" :disabled="true" />
1418
</a-form-item>

0 commit comments

Comments
 (0)
Please sign in to comment.