@yeeyoon/library 3.3.5 → 3.3.6
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yeeyoon/library",
|
3
|
-
"version": "3.3.
|
3
|
+
"version": "3.3.6",
|
4
4
|
"description": "宜云前端组件库和通用服务",
|
5
5
|
"main": "index.js",
|
6
6
|
"repository": {
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"dependencies": {
|
23
23
|
"@ant-design/pro-layout": "^6.26.0",
|
24
24
|
"@ant-design/pro-list": "^1.12.0",
|
25
|
-
"antd": "^4.
|
25
|
+
"antd": "^4.18.6",
|
26
26
|
"dva": "^2.6.0-beta.6",
|
27
27
|
"local-storage": "^2.0.0",
|
28
28
|
"lodash": "^4.17.21",
|
package/src/global.css
CHANGED
package/src/pages/index.js
CHANGED
@@ -1,17 +1,14 @@
|
|
1
|
-
import React from 'react';
|
1
|
+
import React, { useState, useEffect } from 'react';
|
2
2
|
import Header from '../../lib/components/Header/';
|
3
|
-
import TenantSelector from '../../lib/components/TenantSelector';
|
4
3
|
|
5
4
|
// eslint-disable-next-line react/display-name
|
6
5
|
export default function () {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
</>
|
16
|
-
);
|
6
|
+
const [tenantId, setTenantId] = useState('');
|
7
|
+
useEffect(() => {
|
8
|
+
setTimeout(() => {
|
9
|
+
setTenantId('053a033a063711ecb0c00c42a1ff8370');
|
10
|
+
// setTenantId('f12a71b6063611ecb0c00c42a1ff8370');
|
11
|
+
}, 3000);
|
12
|
+
}, []);
|
13
|
+
return <Header productName="bpm" tenantId={tenantId} />;
|
17
14
|
}
|