beer-assembly-biz 1.1.1-alpha.22 → 1.1.1-alpha.24
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/AppLayout.d.ts +4 -0
- package/AppLayout.js +7 -1
- package/package.json +2 -2
package/AppLayout.d.ts
CHANGED
package/AppLayout.js
CHANGED
|
@@ -263,7 +263,13 @@ const Component = (props) => {
|
|
|
263
263
|
display: block;
|
|
264
264
|
margin: 0 6px;
|
|
265
265
|
}
|
|
266
|
-
|
|
266
|
+
`, onClick: () => {
|
|
267
|
+
const link = props?.logo?.link || '';
|
|
268
|
+
if (link === '') {
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
window.location.href = link;
|
|
272
|
+
} },
|
|
267
273
|
React.createElement("img", { src: props?.logo?.path, alt: "" })), title: false, avatarProps: {
|
|
268
274
|
src: (userInfo?.avatar || '') === '' ? '/avatar.png' : userInfo?.avatar,
|
|
269
275
|
size: 'small',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beer-assembly-biz",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.1.1-alpha.
|
|
4
|
+
"version": "1.1.1-alpha.24",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"pub-w": "tsc && copy package.json .\\dist\\package.json && npm publish ./dist",
|
|
7
7
|
"pub-m": "tsc && cp -a src/icon ./dist && cp -a src/fonts ./dist && cp -a src/images ./dist && cp package.json ./dist/package.json && npm publish ./dist"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@ant-design/icons": "^5.2.6",
|
|
11
11
|
"@ant-design/pro-components": "^2.6.49",
|
|
12
12
|
"@emotion/css": "^11.11.2",
|
|
13
|
-
"antd": "^5.
|
|
13
|
+
"antd": "^5.21.0",
|
|
14
14
|
"beer-network": "^1.1.1-alpha.17",
|
|
15
15
|
"beer-assembly": "^1.1.1-alpha.73",
|
|
16
16
|
"dayjs": "^1.11.13",
|