@pisell/pisellos 2.2.7 → 2.2.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.
@@ -116,7 +116,7 @@ export var MenuModule = /*#__PURE__*/function (_BaseModule) {
116
116
  num: 999,
117
117
  code: 'menu_list'
118
118
  }, {
119
- useCache: true
119
+ cache: undefined
120
120
  });
121
121
  case 3:
122
122
  response = _context2.sent;
@@ -475,7 +475,7 @@ export var ProductsModule = /*#__PURE__*/function (_BaseModule) {
475
475
  front_end_cache_id: cacheId,
476
476
  application_code: (_this$otherParams = this.otherParams) === null || _this$otherParams === void 0 ? void 0 : _this$otherParams.channel
477
477
  }, {
478
- useCache: true
478
+ cache: undefined
479
479
  });
480
480
  case 4:
481
481
  productsData = _context6.sent;
@@ -122,7 +122,7 @@ export var ScheduleModuleEx = /*#__PURE__*/function (_BaseModule) {
122
122
  return this.request.get("/schedule", {
123
123
  num: 999
124
124
  }, {
125
- useCache: true
125
+ cache: undefined
126
126
  });
127
127
  case 2:
128
128
  scheduleList = _context2.sent;
@@ -73,7 +73,7 @@ var MenuModule = class extends import_BaseModule.BaseModule {
73
73
  num: 999,
74
74
  code: "menu_list"
75
75
  },
76
- { useCache: true }
76
+ { cache: void 0 }
77
77
  );
78
78
  const menuList = ((_a = response == null ? void 0 : response.data) == null ? void 0 : _a.list) || [];
79
79
  await this.saveMenuToIndexDB(menuList);
@@ -313,7 +313,7 @@ var ProductsModule = class extends import_BaseModule.BaseModule {
313
313
  front_end_cache_id: cacheId,
314
314
  application_code: (_a = this.otherParams) == null ? void 0 : _a.channel
315
315
  },
316
- { useCache: true }
316
+ { cache: void 0 }
317
317
  );
318
318
  await this.saveProductsToIndexDB(((_b = productsData == null ? void 0 : productsData.data) == null ? void 0 : _b.list) || []);
319
319
  await this.core.effects.emit(
@@ -82,7 +82,7 @@ var ScheduleModuleEx = class extends import_BaseModule.BaseModule {
82
82
  const scheduleList = await this.request.get(
83
83
  `/schedule`,
84
84
  { num: 999 },
85
- { useCache: true }
85
+ { cache: void 0 }
86
86
  );
87
87
  const list = ((_a = scheduleList.data) == null ? void 0 : _a.list) || [];
88
88
  await this.saveScheduleToIndexDB(list);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "2.2.7",
4
+ "version": "2.2.8",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",