indicator-ui 0.0.162 → 0.0.163

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/dist/index.js CHANGED
@@ -11392,7 +11392,7 @@ __webpack_require__.r(__webpack_exports__);
11392
11392
  function PageSwitcher({ curPage = 1, numPage, next, prev, onChange, smallVersion = false, }) {
11393
11393
  const getNumberList = () => {
11394
11394
  if (numPage === 0)
11395
- return undefined;
11395
+ return [];
11396
11396
  if (numPage <= 7) {
11397
11397
  return Array.from({ length: numPage }, (_, i) => i + 1);
11398
11398
  }
@@ -11409,7 +11409,7 @@ function PageSwitcher({ curPage = 1, numPage, next, prev, onChange, smallVersion
11409
11409
  };
11410
11410
  const getNumberListSmall = () => {
11411
11411
  if (numPage === 0)
11412
- return undefined;
11412
+ return [];
11413
11413
  if (numPage <= 5) {
11414
11414
  return Array.from({ length: numPage }, (_, i) => i + 1);
11415
11415
  }