From 6af68085ff6615e1ec3a5dd18c761250800d6fca Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail.com> Date: 星期二, 06 六月 2023 22:23:43 +0800 Subject: [PATCH] update 修改页面代码 去除ele的引入以及vue的类型声明 --- src/views/tool/gen/editTable.vue | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/tool/gen/editTable.vue b/src/views/tool/gen/editTable.vue index 15e6edd..7361bdb 100644 --- a/src/views/tool/gen/editTable.vue +++ b/src/views/tool/gen/editTable.vue @@ -117,9 +117,8 @@ import { DbColumnVO, DbTableVO } from '@/api/tool/gen/types'; import { optionselect as getDictOptionselect } from '@/api/system/dict/type'; import { DictTypeVO } from '@/api/system/dict/type/types'; -import basicInfoForm from './basicInfoForm.vue'; -import genInfoForm from "./genInfoForm.vue"; -import { ComponentInternalInstance } from "vue"; +import BasicInfoForm from './basicInfoForm.vue'; +import GenInfoForm from "./genInfoForm.vue"; const route = useRoute(); const { proxy } = getCurrentInstance() as ComponentInternalInstance; @@ -131,8 +130,8 @@ const dictOptions = ref<DictTypeVO[]>([]); const info = ref<Partial<DbTableVO>>({}); -const basicInfo = ref(basicInfoForm); -const genInfo = ref(genInfoForm); +const basicInfo = ref<InstanceType<typeof BasicInfoForm>>(); +const genInfo = ref<InstanceType<typeof GenInfoForm>>(); /** 鎻愪氦鎸夐挳 */ const submitForm = () => { -- Gitblit v1.9.3