etherreq 1.1.8 → 1.1.9

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/package.json +1 -1
  2. package/src/request.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "etherreq",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "A lightweight custom HTTP request library.",
5
5
  "main": "src/index.js",
6
6
  "types": "src/types/etherreq.d.ts",
package/src/request.js CHANGED
@@ -44,7 +44,6 @@ instance.interceptors.response.use(
44
44
  // 如果是缓存命中,直接返回 cached 数据
45
45
  console.log(response);
46
46
  console.log(response.isFromCache);
47
-
48
47
  if (response && response.isFromCache) {
49
48
  console.log('使用缓存数据');
50
49
  console.log('返回数据', response.data);