@yeeyoon/library 3.4.6 → 3.4.9
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.
@@ -24,23 +24,7 @@ const ProductListMenu = (props) => {
|
|
24
24
|
let _link = document.createElement('a');
|
25
25
|
let link = document.body.appendChild(_link);
|
26
26
|
link.setAttribute('target', '_blank');
|
27
|
-
if (
|
28
|
-
(ls.get('X-Auth-Userid') == 'e84702c9bb626b4d6e3727b19647c31d' ||
|
29
|
-
ls.get('X-Auth-Userid') == '2d0b67ed5d338f713b81b11ff9028355' ||
|
30
|
-
ls.get('X-Auth-Userid') == '53774bc7b6ceb8c812274b29f9e7574b' ||
|
31
|
-
ls.get('X-Auth-Userid') == '1ff12d1422a59c04b86d703dfcdb5450' ||
|
32
|
-
ls.get('X-Auth-Userid') == '9c5a285c3fd08fb822fb51d1a3852fb5' ||
|
33
|
-
ls.get('X-Auth-Userid') == '6f3fe90cab0fd2e5ad1f373a2b1c1e17' ||
|
34
|
-
ls.get('X-Auth-Userid') == '62f610f982ab884638a3d26f23b9bc53' ||
|
35
|
-
ls.get('X-Auth-Userid') == '033088cf1da7d888e20ec0a91d01f137' ||
|
36
|
-
ls.get('X-Auth-Userid') == '74b35eba1e56d7b7fa8860bad1506d0c' ||
|
37
|
-
ls.get('X-Auth-Userid') == 'c62b179941405123421aa5626686ef92' ||
|
38
|
-
ls.get('X-Auth-Userid') == '2ff62a002f4ea04f89c91d20ea021b05' ||
|
39
|
-
ls.get('X-Auth-Userid') == '7b05a773f90886cbb63d675147317a50' ||
|
40
|
-
ls.get('X-Auth-Userid') == 'fdc177ae99705670968da4239e93c481' ||
|
41
|
-
ls.get('X-Auth-Userid') == '029572cec9a59d68ff714dd35005364b') &&
|
42
|
-
item.code === 200000724
|
43
|
-
) {
|
27
|
+
if (item.code === 200000724) {
|
44
28
|
url = HOST_MMS;
|
45
29
|
link.setAttribute(
|
46
30
|
'href',
|
@@ -61,6 +61,7 @@ const Header = (props) => {
|
|
61
61
|
userName,
|
62
62
|
slot = <></>,
|
63
63
|
handleException,
|
64
|
+
isSharePlatform = false,
|
64
65
|
} = props;
|
65
66
|
const [platforms, setPlatforms] = useState([]);
|
66
67
|
const [userInfo, setUserInfo] = useState(null);
|
@@ -226,14 +227,16 @@ const Header = (props) => {
|
|
226
227
|
<div className={styles['comp-header-wrapper']}>
|
227
228
|
<div className={styles['comp-header']}>
|
228
229
|
<div className={styles['comp-header__left-content']}>
|
229
|
-
|
230
|
-
<
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
230
|
+
{!isSharePlatform && (
|
231
|
+
<Tooltip title="更多产品">
|
232
|
+
<IconMore
|
233
|
+
style={{ fontSize: '22px', cursor: 'pointer' }}
|
234
|
+
onClick={() => {
|
235
|
+
setProductListMenuDrawerShow(true);
|
236
|
+
}}
|
237
|
+
/>
|
238
|
+
</Tooltip>
|
239
|
+
)}
|
237
240
|
<span
|
238
241
|
className={styles['comp-header__logo']}
|
239
242
|
onClick={() => {
|
@@ -354,6 +357,7 @@ Header.propTypes = {
|
|
354
357
|
userName: PropTypes.string,
|
355
358
|
slot: PropTypes.node,
|
356
359
|
handleException: PropTypes.func,
|
360
|
+
isSharePlatform: PropTypes.bool,
|
357
361
|
};
|
358
362
|
|
359
363
|
export default Header;
|
package/lib/utils/request.js
CHANGED