@lemon-fe/hooks 1.4.27-alpha.0 → 1.5.8

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.
@@ -70,7 +70,7 @@ export default function useRequest<T extends (...args: any[]) => Promise<any> |
70
70
  */
71
71
  loading: boolean;
72
72
  /**
73
- * 仅在manual=true会返回,否则返回null
73
+ * 初始值为defaultData(默认null);自动模式请求成功后更新为请求结果,手动模式不会更新
74
74
  */
75
75
  data: K;
76
76
  };
@@ -178,7 +178,7 @@ export default function useRequest(request) {
178
178
  */
179
179
  loading: loading,
180
180
  /**
181
- * 仅在manual=true会返回,否则返回null
181
+ * 初始值为defaultData(默认null);自动模式请求成功后更新为请求结果,手动模式不会更新
182
182
  */
183
183
  data: data
184
184
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/hooks",
3
- "version": "1.4.27-alpha.0",
3
+ "version": "1.5.8",
4
4
  "description": "> TODO: description",
5
5
  "author": "lusj",
6
6
  "homepage": "",
@@ -30,5 +30,5 @@
30
30
  "antd": "^4.24.8",
31
31
  "react": "^17.0.2"
32
32
  },
33
- "gitHead": "c5d28b728f3a559fd51e738b5c490323e6551786"
33
+ "gitHead": "7c24d56a7c40f9e16292a2412aaa0d6143e4f94d"
34
34
  }