@zgfe/modules-page 1.0.17-zhongyuan.3 → 1.0.17-zhongyuan.5

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.
@@ -216,7 +216,7 @@ var ModulesPage = function ModulesPage(props) {
216
216
  // app页面分析
217
217
  var handleAppPageAnalysis = function handleAppPageAnalysis() {
218
218
  router === null || router === void 0 || router.push({
219
- name: "".concat(routes.appAnalyseVisual, "/2"),
219
+ name: "".concat(routes.appAnalyseVisual),
220
220
  query: {
221
221
  // tab: key,
222
222
  }
@@ -264,7 +264,7 @@ var ModulesPage = function ModulesPage(props) {
264
264
  value: searchValue,
265
265
  onChange: onChange
266
266
  })),
267
- topRender: props.onClickWarn ? render : renderApp,
267
+ topRender: props.onClickWarn ? render : props.titleVisible && renderApp,
268
268
  collapseRef: selectRef
269
269
  }, /*#__PURE__*/React.createElement(Spin, {
270
270
  spinning: pageLoading
@@ -6,6 +6,7 @@ export declare namespace ModulesPageTypes {
6
6
  value?: Value;
7
7
  onClickWarn?: () => void;
8
8
  onChange?: (data: Value) => void;
9
+ titleVisible?: boolean;
9
10
  }
10
11
  interface Value extends SearchValue {
11
12
  time?: DatePickerTypes.Value;
@@ -41,6 +42,6 @@ export declare namespace ModulesPageTypes {
41
42
  export declare const ModulesPageContext: import("react").Context<{
42
43
  pageList: ModulesPageTypes.Page[];
43
44
  pageGroupList: ModulesPageTypes.PageGroup[];
44
- currentClickPage?: ModulesPageTypes.PageGroup | ModulesPageTypes.Page | undefined;
45
+ currentClickPage?: ModulesPageTypes.Page | ModulesPageTypes.PageGroup | undefined;
45
46
  setCurrentClickPage?: ((data: ModulesPageTypes.Page) => void) | undefined;
46
47
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-page",
3
- "version": "1.0.17-zhongyuan.3",
3
+ "version": "1.0.17-zhongyuan.5",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -57,5 +57,5 @@
57
57
  "rc-virtual-list": "^3.14.2",
58
58
  "yorkie": "^2.0.0"
59
59
  },
60
- "gitHead": "ab5b488304d001d07b9f821ce4617452442830e9"
60
+ "gitHead": "89433145fd9a8cfbc9e01b3f9669d2c9a347d6f0"
61
61
  }