Skip to content

Commit

Permalink
Merge pull request #200 from mineadmin/patch-1
Browse files Browse the repository at this point in the history
Added component to FormDataType
  • Loading branch information
kanyxmo authored Jul 9, 2024
2 parents be925ac + 1c8f058 commit 58ee531
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/ma-crud/types/columns.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VNodeChild } from "vue";
import { VNodeChild,Ref } from "vue";

/**
* 表单组件类型
Expand Down Expand Up @@ -30,7 +30,9 @@ export type FormDataType =
| "user-info"
| "city-linkage"
| "form-group"
| "select-resource";
| "select-resource"
| 'component';

/**
* 列字典
*/
Expand Down Expand Up @@ -120,6 +122,7 @@ export interface BasicColumn {
searchPlaceholder?: string;
// 表格是否快捷编辑,只支持 input date select
quickEdit?: boolean;
component?:Ref;
//编辑|创建 通用规则
commonRules?: FieldRule | FieldRule[];
// 创建时规则
Expand Down

0 comments on commit 58ee531

Please sign in to comment.