@glodon-aiot/dataset-annotation 3.18.1-alpha.14 → 3.18.1-alpha.16

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.
@@ -104,7 +104,7 @@ const {
104
104
  }
105
105
  if (s >= e.length) {
106
106
  const y = (t.current - 1) * t.pageSize + s;
107
- t.total && y >= t.total ? b.error("已经是最后一个了") : k({
107
+ t.total == null || y >= t.total ? b.error("已经是最后一个了") : k({
108
108
  current: t.current + 1,
109
109
  pageSize: t.pageSize,
110
110
  type: "next"
@@ -158,7 +158,7 @@ const {
158
158
  }
159
159
  if (d >= n.length) {
160
160
  const c = (r.current - 1) * r.pageSize + d;
161
- r.total && c >= r.total ? (n.length > 0 && L >= n.length && setTimeout(() => {
161
+ r.total == null || c >= r.total ? (n.length > 0 && L >= n.length && setTimeout(() => {
162
162
  const u = n.length - 1;
163
163
  z(u);
164
164
  const me = n[u];