@pisell/pisellos 2.1.33 → 2.1.34

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.
@@ -144,7 +144,7 @@ export var ProductList = /*#__PURE__*/function (_BaseModule) {
144
144
  });
145
145
  if (sortedList.length) {
146
146
  sortedList.forEach(function (n) {
147
- if (n.is_eject !== 1 && n.session) {
147
+ if (n.is_eject !== 1 && n['schedule.ids'] && n['schedule.ids'].length) {
148
148
  n.is_eject = 1;
149
149
  }
150
150
  });
@@ -106,7 +106,7 @@ var ProductList = class extends import_BaseModule.BaseModule {
106
106
  const sortedList = (productsData.data.list || []).slice().sort((a, b) => Number(b.sort) - Number(a.sort));
107
107
  if (sortedList.length) {
108
108
  sortedList.forEach((n) => {
109
- if (n.is_eject !== 1 && n.session) {
109
+ if (n.is_eject !== 1 && n["schedule.ids"] && n["schedule.ids"].length) {
110
110
  n.is_eject = 1;
111
111
  }
112
112
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "2.1.33",
4
+ "version": "2.1.34",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",