@ttkj/avue 2.11.19 → 2.11.20
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/avue.js +30 -30
- package/lib/avue.min.js +2 -2
- package/package.json +1 -1
- package/types/crud/index.d.ts +4 -2
package/package.json
CHANGED
package/types/crud/index.d.ts
CHANGED
@@ -82,14 +82,16 @@ export declare class AvueCrud<T = Obj, S = Partial<T>> extends AvueComponent {
|
|
82
82
|
* 打开前的回调,会暂停Dialog的打开
|
83
83
|
* @param done 用于关闭Dialog
|
84
84
|
* @param type 当前窗口的类型
|
85
|
+
* @param form Dialog的表单数据
|
85
86
|
*/
|
86
|
-
beforeOpen: (done: Function, type: string) => void;
|
87
|
+
beforeOpen: (done: Function, type: string, form: T) => void;
|
87
88
|
/**
|
88
89
|
* 关闭前的回调,会暂停Dialog的关闭
|
89
90
|
* @param done 用于关闭Dialog
|
90
91
|
* @param type 当前窗口的类型
|
92
|
+
* @param form Dialog的表单数据
|
91
93
|
*/
|
92
|
-
beforeClose: (done: Function, type: string) => void;
|
94
|
+
beforeClose: (done: Function, type: string, form: T) => void;
|
93
95
|
/** 表格数据 */
|
94
96
|
data: T[];
|
95
97
|
/** 默认配置 */
|