Skip to content

Commit

Permalink
Added component to FormDataType
Browse files Browse the repository at this point in the history
  • Loading branch information
zds-s committed Jul 5, 2024
1 parent fa0d9ec commit 1c8f058
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 1c8f058

Please sign in to comment.