@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttkj/avue",
3
- "version": "2.11.19",
3
+ "version": "2.11.20",
4
4
  "description": "A Magic Configurable Web Framework",
5
5
  "main": "lib/avue.min.js",
6
6
  "unpkg": "lib/avue.min.js",
@@ -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
  /** 默认配置 */