beer-assembly-biz 1.1.3-alpha.19 → 1.1.3-alpha.20
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/layout/AppLayout.d.ts +1 -1
- package/layout/AppLayout.js +2 -5
- package/package.json +1 -1
package/layout/AppLayout.d.ts
CHANGED
package/layout/AppLayout.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
2
|
import { css } from '@emotion/css';
|
|
3
3
|
import { ProLayout } from '@ant-design/pro-components';
|
|
4
|
-
import { Alert, Dropdown, message,
|
|
4
|
+
import { Alert, Dropdown, message, theme, Typography } from 'antd';
|
|
5
5
|
import { Session } from 'beer-network/session';
|
|
6
6
|
import dayjs from 'dayjs';
|
|
7
7
|
import Marquee from 'react-fast-marquee';
|
|
@@ -212,10 +212,7 @@ export const AppLayout = (props) => {
|
|
|
212
212
|
url: it.defaultPath || it.path
|
|
213
213
|
};
|
|
214
214
|
}) : [], headerContentRender: () => {
|
|
215
|
-
|
|
216
|
-
return undefined;
|
|
217
|
-
}
|
|
218
|
-
return React.createElement(Space, { size: 4 }, props?.headerContentRender?.map(item => item));
|
|
215
|
+
return props?.headerContentRender;
|
|
219
216
|
}, menuHeaderRender: (_logo, _title, props) => {
|
|
220
217
|
if (props !== undefined) {
|
|
221
218
|
setTimeout(() => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beer-assembly-biz",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.1.3-alpha.
|
|
4
|
+
"version": "1.1.3-alpha.20",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"pub-w": "tsc && copy package.json .\\dist\\package.json && npm publish ./dist",
|
|
7
7
|
"copy": "cp -a src/rich/AIEditor.css dist/rich/AIEditor.css && cp -a src/icon dist/icon && cp -a src/images dist/images",
|