@carefrees/form-utils-vue-hooks 0.0.13 → 0.0.14

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.
@@ -14,8 +14,6 @@ export declare class FormInstanceBase<T = any> {
14
14
  hideState: Ref<Record<string, boolean>>;
15
15
  /**是否保护值(不进行表单项组件卸载重置初始值)*/
16
16
  preserve?: boolean;
17
- /**值更新触发*/
18
- onValuesChange?: (changedValues: any, values: T) => void;
19
17
  /**提交保存 验证成功*/
20
18
  onFinish?: (values: T) => void;
21
19
  /**提交保存 验证失败*/
@@ -6,7 +6,6 @@ class FormInstanceBase {
6
6
  formListInstances = new Map([]);
7
7
  hideState = ref({});
8
8
  preserve = true;
9
- onValuesChange;
10
9
  onFinish;
11
10
  onFinishFailed;
12
11
  resetFieldsValue = (initial = {})=>{
@@ -14,8 +14,6 @@ export declare class FormInstanceBase<T = any> {
14
14
  hideState: Ref<Record<string, boolean>>;
15
15
  /**是否保护值(不进行表单项组件卸载重置初始值)*/
16
16
  preserve?: boolean;
17
- /**值更新触发*/
18
- onValuesChange?: (changedValues: any, values: T) => void;
19
17
  /**提交保存 验证成功*/
20
18
  onFinish?: (values: T) => void;
21
19
  /**提交保存 验证失败*/
@@ -34,7 +34,6 @@ class FormInstanceBase {
34
34
  formListInstances = new Map([]);
35
35
  hideState = (0, external_vue_namespaceObject.ref)({});
36
36
  preserve = true;
37
- onValuesChange;
38
37
  onFinish;
39
38
  onFinishFailed;
40
39
  resetFieldsValue = (initial = {})=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carefrees/form-utils-vue-hooks",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "vue表单hooks",
5
5
  "homepage": "https://github.com/SunLxy/carefrees-form-utils",
6
6
  "main": "lib/index.js",
@@ -21,8 +21,6 @@ export class FormInstanceBase<T = any> {
21
21
  preserve?: boolean = true;
22
22
 
23
23
  //===================================挂载方法====================================================
24
- /**值更新触发*/
25
- onValuesChange?: (changedValues: any, values: T) => void;
26
24
  /**提交保存 验证成功*/
27
25
  onFinish?: (values: T) => void;
28
26
  /**提交保存 验证失败*/