@zgfe/modules-page 1.0.1-alpha.27 → 1.0.1-alpha.28

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.
@@ -12,7 +12,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import React, { useContext, useEffect, useMemo, useRef, useState } from 'react';
14
14
  import EmptyPanel from "../empty";
15
- import { BizGlobalDataContext, BizLayout } from '@zgfe/business-lib';
15
+ import { BizGlobalDataContext, BizLayout, BizLoading } from '@zgfe/business-lib';
16
16
  import { Button, Skeleton, Spin } from 'antd';
17
17
  import "./style/index.less";
18
18
  import SearchPanel from "../../components/searchPanel";
@@ -256,9 +256,9 @@ var ModulesPage = function ModulesPage(props) {
256
256
  onDownload: function onDownload() {
257
257
  return _onDownload(searchValue, currentApp);
258
258
  }
259
- }), loading ? /*#__PURE__*/React.createElement("div", {
259
+ }), loading && !pageLoading ? /*#__PURE__*/React.createElement("div", {
260
260
  className: "".concat(classPrefix, "-content")
261
- }, /*#__PURE__*/React.createElement(Spin, null)) : pageType === 'list' ? /*#__PURE__*/React.createElement(PageContent, {
261
+ }, /*#__PURE__*/React.createElement(BizLoading, null)) : pageType === 'list' ? /*#__PURE__*/React.createElement(PageContent, {
262
262
  type: currentType,
263
263
  value: result,
264
264
  groupId: searchValue === null || searchValue === void 0 ? void 0 : searchValue.pageGroup,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-page",
3
- "version": "1.0.1-alpha.27",
3
+ "version": "1.0.1-alpha.28",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -39,7 +39,7 @@
39
39
  "@types/lodash": "^4.14.197",
40
40
  "@umijs/fabric": "^2.8.1",
41
41
  "@umijs/test": "^3.0.5",
42
- "@zgfe/business-lib": "1.1.82-user.5",
42
+ "@zgfe/business-lib": "1.1.84-panel.5",
43
43
  "antd": "^4.22.6",
44
44
  "dumi": "^1.1.0",
45
45
  "father": "^4.0.0-rc.2",
@@ -50,5 +50,5 @@
50
50
  "prettier": "^2.2.1",
51
51
  "yorkie": "^2.0.0"
52
52
  },
53
- "gitHead": "d9f733682c23bcd39bfeef149fd9a0d6c00e344c"
53
+ "gitHead": "f74f9ef1ce6ee3f451b50b10d813cd6df4b38808"
54
54
  }