t20-common-lib 0.12.9 → 0.12.10

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "t20-common-lib",
3
- "version": "0.12.9",
3
+ "version": "0.12.10",
4
4
  "description": "T20",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -553,7 +553,7 @@ export default {
553
553
  for (let i in this.searchParams) {
554
554
  str += `&${i}=${this.searchParams[i]}`
555
555
  }
556
- request({ url: this.url + str, method: "GET", cache:true, headers }).then((res) => {
556
+ request({ url: this.url + str, method: "GET", cache:true, headers, loading: false }).then((res) => {
557
557
  this.loading = false;
558
558
  res = unwrapRequestData(res)
559
559
  let data = res.fundTreeVoList;
@@ -1111,7 +1111,7 @@ export default {
1111
1111
  url: this.listUrl,
1112
1112
  method: "POST",
1113
1113
  data: params,
1114
- headers, cache:true,
1114
+ headers, cache:true, loading: false
1115
1115
  }).then((res) => {
1116
1116
  res = unwrapRequestData(res)
1117
1117
  console.log(6666);
@@ -511,7 +511,7 @@ export default {
511
511
  url: this.url + str,
512
512
  method: "GET",
513
513
  cache: true,
514
- headers,
514
+ headers, loading: false
515
515
  }).then((res) => {
516
516
  res = unwrapRequestData(res)
517
517
  let data = res.fundTreeVoList;
@@ -1031,7 +1031,7 @@ export default {
1031
1031
  method: "POST",
1032
1032
  data: params,
1033
1033
  headers,
1034
- cache: true,
1034
+ cache: true, loading: false
1035
1035
  });
1036
1036
  res = unwrapRequestData(res)
1037
1037
  this.loading = false;