@kengic/vue 0.31.3 → 0.31.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -22,6 +22,24 @@ import { VxeInputEvents, VxePulldownInstance } from 'vxe-table';
22
22
  import { VxeInputEvents, VxePulldownInstance } from 'vxe-pc-ui';
23
23
  ```
24
24
 
25
+ ### 2. kgVar.kgSubmit.onBeforeRequest() 事件回调函数参数变更,
26
+
27
+ ```typescript
28
+ // 旧
29
+ // --------------------------------------------------
30
+ kgVar.kgSubmit.onBeforeRequest(async ({ data, params }) => {
31
+ data.value.foo = 'foo';
32
+ params.value.foo = 'foo';
33
+ });
34
+
35
+ // 新
36
+ // --------------------------------------------------
37
+ kgVar.kgSubmit.onBeforeRequest(async ({ requestConfig }) => {
38
+ requestConfig.data!.foo = 'foo';
39
+ requestConfig.params!.foo = 'foo';
40
+ });
41
+ ```
42
+
25
43
  # 0.30.0
26
44
 
27
45
  ### 1. 属性名称变更