@varlet/axle 0.2.17 → 0.2.18-alpha.1702565170429

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/es/use.js +2 -1
  2. package/package.json +1 -1
package/es/use.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-KLNSLHAC.js";
4
4
 
5
5
  // src/use.ts
6
- import { ref as ref3 } from "vue";
6
+ import { ref as ref3, onUnmounted } from "vue";
7
7
  import { isFunction } from "@varlet/shared";
8
8
 
9
9
  // src/composables/useValues.ts
@@ -139,6 +139,7 @@ function createUseAxle(options) {
139
139
  config: initialConfig
140
140
  });
141
141
  }
142
+ onUnmounted(abort);
142
143
  return [
143
144
  value,
144
145
  run,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/axle",
3
- "version": "0.2.17",
3
+ "version": "0.2.18-alpha.1702565170429",
4
4
  "description": "Progressive request tool based on axios",
5
5
  "type": "module",
6
6
  "main": "es/index.js",