diff --git a/yudao-ui-admin-vue3/src/views/infra/codegen/EditTable.vue b/yudao-ui-admin-vue3/src/views/infra/codegen/EditTable.vue
index 7c4349df5..301ab1007 100644
--- a/yudao-ui-admin-vue3/src/views/infra/codegen/EditTable.vue
+++ b/yudao-ui-admin-vue3/src/views/infra/codegen/EditTable.vue
@@ -8,9 +8,6 @@
-
-
-
()
const cloumCurrentRow = ref([])
const basicInfoRef = ref>()
-const genInfoRef = ref>()
const getList = async () => {
const id = query.id as unknown as number
@@ -59,14 +55,11 @@ const getList = async () => {
}
const submitForm = async () => {
const basicInfo = unref(basicInfoRef)
- const genInfo = unref(genInfoRef)
const basicForm = await basicInfo?.elFormRef?.validate()?.catch(() => {})
- const genForm = await genInfo?.elFormRef?.validate()?.catch(() => {})
- if (basicForm && genForm) {
+ if (basicForm) {
const basicInfoData = (await basicInfo?.getFormData()) as CodegenTableVO
- const genInfoData = (await genInfo?.getFormData()) as CodegenTableVO
const genTable: CodegenUpdateReqVO = {
- table: Object.assign({}, basicInfoData, genInfoData),
+ table: basicInfoData,
columns: cloumCurrentRow.value
}
await updateCodegenTableApi(genTable)
diff --git a/yudao-ui-admin-vue3/src/views/infra/codegen/components/BasicInfoForm.vue b/yudao-ui-admin-vue3/src/views/infra/codegen/components/BasicInfoForm.vue
index 9fec5ea04..2384a850c 100644
--- a/yudao-ui-admin-vue3/src/views/infra/codegen/components/BasicInfoForm.vue
+++ b/yudao-ui-admin-vue3/src/views/infra/codegen/components/BasicInfoForm.vue
@@ -2,23 +2,42 @@
diff --git a/yudao-ui-admin-vue3/src/views/infra/codegen/components/index.ts b/yudao-ui-admin-vue3/src/views/infra/codegen/components/index.ts
index f6fc155b7..b84c5a031 100644
--- a/yudao-ui-admin-vue3/src/views/infra/codegen/components/index.ts
+++ b/yudao-ui-admin-vue3/src/views/infra/codegen/components/index.ts
@@ -1,6 +1,5 @@
import BasicInfoForm from './BasicInfoForm.vue'
import CloumInfoForm from './CloumInfoForm.vue'
-import GenInfoForm from './GenInfoForm.vue'
import ImportTable from './ImportTable.vue'
import Preview from './Preview.vue'
-export { BasicInfoForm, CloumInfoForm, GenInfoForm, ImportTable, Preview }
+export { BasicInfoForm, CloumInfoForm, ImportTable, Preview }