fix: fix useCrudSchemas not work

This commit is contained in:
kailong321200875
2022-07-01 22:16:41 +08:00
parent f01c261647
commit 0a855b93e2
3 changed files with 9 additions and 5 deletions

View File

@@ -31,7 +31,8 @@ const props = defineProps({
// 是否显示伸缩
expand: propTypes.bool.def(false),
// 伸缩的界限字段
expandField: propTypes.string.def('')
expandField: propTypes.string.def(''),
inline: propTypes.bool.def(true)
})
const emit = defineEmits(['search', 'reset'])
@@ -96,7 +97,7 @@ const setVisible = () => {
:is-custom="false"
:label-width="labelWidth"
hide-required-asterisk
inline
:inline="inline"
:is-col="isCol"
:schema="newSchema"
@register="register"