diff --git a/src/components/CURD/PageForm.vue b/src/components/CURD/PageForm.vue
deleted file mode 100644
index d879d899..00000000
--- a/src/components/CURD/PageForm.vue
+++ /dev/null
@@ -1,155 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ item?.label || "" }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ formData[item.prop] }}
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/CURD/types.ts b/src/components/CURD/types.ts
index 375f06e8..12ae896c 100644
--- a/src/components/CURD/types.ts
+++ b/src/components/CURD/types.ts
@@ -1,7 +1,6 @@
import type { DialogProps, DrawerProps, FormItemRule, PaginationProps } from "element-plus";
import type { FormProps, TableProps, ColProps, ButtonProps, CardProps } from "element-plus";
import type PageContent from "./PageContent.vue";
-import type PageForm from "./PageForm.vue";
import type PageModal from "./PageModal.vue";
import type PageSearch from "./PageSearch.vue";
import { CSSProperties } from "vue";
@@ -9,7 +8,6 @@ import { CSSProperties } from "vue";
export type PageSearchInstance = InstanceType;
export type PageContentInstance = InstanceType;
export type PageModalInstance = InstanceType;
-export type PageFormInstance = InstanceType;
export type IObject = Record;
diff --git a/src/types/components.d.ts b/src/types/components.d.ts
index 4b31280f..6347a7f0 100644
--- a/src/types/components.d.ts
+++ b/src/types/components.d.ts
@@ -76,7 +76,6 @@ declare module "vue" {
NoticeDropdown: (typeof import("./../components/Notice/NoticeDropdown.vue"))["default"];
LayoutSelect: (typeof import("./../layout/components/Settings/components/LayoutSelect.vue"))["default"];
PageContent: (typeof import("./../components/CURD/PageContent.vue"))["default"];
- PageForm: (typeof import("./../components/CURD/PageForm.vue"))["default"];
PageModal: (typeof import("./../components/CURD/PageModal.vue"))["default"];
PageSearch: (typeof import("./../components/CURD/PageSearch.vue"))["default"];
Pagination: (typeof import("./../components/Pagination/index.vue"))["default"];
diff --git a/src/views/demo/curd/index.vue b/src/views/demo/curd/index.vue
index 46fa472a..cc35325b 100644
--- a/src/views/demo/curd/index.vue
+++ b/src/views/demo/curd/index.vue
@@ -65,7 +65,7 @@
-
+
@@ -198,7 +198,8 @@ const handleOperateClick2 = (data: IOperateData) => {
const openSecondModal = () => {
handleAddClick(addModalRef2 as Ref);
};
-const secondSubmit = () => {
+const secondSubmit = (formData: any) => {
+ console.log("secondSubmit", formData);
ElMessage.success("二级弹窗提交成功");
};