diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 4881ff3df..d2136a0be 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -407,21 +407,22 @@ const sureDisabled = ref(false) const tabSheet = ref('TableForm') routeName.value = route.name const formHeight = ref({ - height:'60vh' + 'max-height': '60vh' }) + const tabChange = (item) => { tabSheet.value = item.prop } -if(!props.tableAllSchemas||formType.value!='create'){ - formHeight.value = { - height:'auto' - } -}else{ - formHeight.value = { - height:'60vh' - } -} +// if(!props.tableAllSchemas||formType.value!='create'){ +// formHeight.value = { +// height:'auto' +// } +// }else{ +// formHeight.value = { +// height:'60vh' +// } +// } // 列表-按钮 // const buttondata = [ // defaultButtons.mainListEditBtn(null), // 编辑 @@ -668,15 +669,15 @@ const open = async ( dialogTitle.value = t('action.' + type) } formType.value = type - if(!props.tableAllSchemas||formType.value!='create'){ - formHeight.value = { - height:'auto' - } - }else{ - formHeight.value = { - height:'60vh' - } - } + // if(!props.tableAllSchemas||formType.value!='create'){ + // formHeight.value = { + // height:'auto' + // } + // }else{ + // formHeight.value = { + // height:'60vh' + // } + // } resetForm() count.value = 0 // 修改时,设置数据 diff --git a/src/components/TableForm/src/TableForm.vue b/src/components/TableForm/src/TableForm.vue index 1da966ea4..57dd2ceae 100644 --- a/src/components/TableForm/src/TableForm.vue +++ b/src/components/TableForm/src/TableForm.vue @@ -1,11 +1,13 @@