@teamias/pro-layout 0.0.4 → 0.0.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.
@@ -17,7 +17,7 @@ export declare class KeepAliveClass {
17
17
  updateAllComponent(type?: 'all' | 'pagesHook' | 'context'): Promise<void>;
18
18
  /** 获取页面数据 */
19
19
  getPages(): (import("react-router-dom").Location & {
20
- pageStatus: 404 | 403 | 200;
20
+ pageStatus: 403 | 404 | 200;
21
21
  pageTitle: string;
22
22
  })[];
23
23
  /** 关闭页面 */
@@ -32,7 +32,7 @@ export declare class KeepAliveClass {
32
32
  useLifeCycle: (callback: IPageLifeCycleCallback) => void;
33
33
  /** 获取缓存页面数组 */
34
34
  useKeepAlivePages: () => (import("react-router-dom").Location & {
35
- pageStatus: 404 | 403 | 200;
35
+ pageStatus: 403 | 404 | 200;
36
36
  pageTitle: string;
37
37
  })[];
38
38
  /** 更新当前路由页面 */
@@ -6,7 +6,7 @@ export declare const keepAliveControl: KeepAliveClass;
6
6
  export declare const useLifeCycle: (callback: import("./types").IPageLifeCycleCallback) => void;
7
7
  /** 获取页面数组 */
8
8
  export declare const useKeepAlivePages: () => (import("react-router-dom").Location & {
9
- pageStatus: 404 | 403 | 200;
9
+ pageStatus: 403 | 404 | 200;
10
10
  pageTitle: string;
11
11
  })[];
12
12
  /** 根 */
@@ -137,7 +137,7 @@ export var RoleSelect = function RoleSelect() {
137
137
  });
138
138
  return /*#__PURE__*/_jsx(Popover, {
139
139
  placement: "bottomRight",
140
- styles: _defineProperty({}, parseInt(version) > 5 ? 'content' : 'body', {
140
+ styles: _defineProperty({}, parseInt(version) > 5 ? 'content' : 'root', {
141
141
  padding: 6
142
142
  }),
143
143
  content: /*#__PURE__*/_jsx(Spin, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamias/pro-layout",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",