Comparing version
@@ -0,6 +1,5 @@ | ||
/// <reference types="react" /> | ||
import { ModalProps } from 'antd/lib/modal/Modal'; | ||
/** | ||
* | ||
*/ | ||
export interface Column { | ||
@@ -10,4 +9,11 @@ title: string; | ||
placeholder?: string; | ||
showed?:boolean; | ||
disabled?:boolean; | ||
showed?: boolean; | ||
disabled?: boolean; | ||
link?: { | ||
field:string, | ||
type?: "change"|"blur", | ||
call:{Function(txt: string):any[]}, | ||
name?:string, | ||
value:string, | ||
}; | ||
// 默认为 : "text" | ||
@@ -18,9 +24,9 @@ type?: "text" | "number" | 'select' | 'radio' | 'checkbox' | 'date' | 'switch' | 'daterange' | 'icon' | 'cascader'; | ||
// rule 用法: https://github.com/yiminghe/async-validator | ||
rule?:any[]; | ||
rule?: any[]; | ||
//说明:目前onChange,onFocus,onBlur 仅在 type 为 "text" 时有效 | ||
onChange?: {Function(txt:string):void}; | ||
onFocus?:{Function(txt:string):void}; | ||
onBlur?: {Function(txt:string):void}; | ||
onChange?: { Function(txt: string): void }; | ||
onFocus?: { Function(txt: string): void }; | ||
onBlur?: { Function(txt: string): void }; | ||
} | ||
@@ -27,0 +33,0 @@ |
{ | ||
"name": "vap", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "vap", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
## 说明 | ||
没有描述 | ||
请参考文档,或联系作者。 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
40827
9.64%1118
12.25%20
-4.76%