@varlet/axle 0.2.0-alpha.1694529745774 → 0.2.0

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.
Files changed (2) hide show
  1. package/README.zh-CN.md +2 -2
  2. package/package.json +1 -1
package/README.zh-CN.md CHANGED
@@ -274,13 +274,13 @@ const axle = createAxle(/** @see https://axios-http.com **/)
274
274
  const useAxle = createUseAxle({ axle })
275
275
 
276
276
  const [users, getUsers, { loading: isUsersLoading, downloadProgress: usersDownloadProgress }] = useAxle({
277
- data: [],
277
+ value: [],
278
278
  method: 'get',
279
279
  url: '/user',
280
280
  })
281
281
 
282
282
  const [roles, getRoles, { loading: isRolesLoading, downloadProgress: rolesDownloadProgress }] = useAxle({
283
- data: [],
283
+ value: [],
284
284
  method: 'get',
285
285
  url: '/role',
286
286
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/axle",
3
- "version": "0.2.0-alpha.1694529745774",
3
+ "version": "0.2.0",
4
4
  "description": "Progressive request tool based on axios",
5
5
  "type": "module",
6
6
  "main": "es/index.js",