@yeeyoon/library 3.4.5 → 3.4.8
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.
@@ -20,25 +20,28 @@ const ProductListMenu = (props) => {
|
|
20
20
|
const [appletSrc, setAppletSrc] = useState('');
|
21
21
|
|
22
22
|
const enterDetail = (item) => {
|
23
|
+
let url = '';
|
23
24
|
let _link = document.createElement('a');
|
24
25
|
let link = document.body.appendChild(_link);
|
25
26
|
link.setAttribute('target', '_blank');
|
26
|
-
if (item.
|
27
|
+
if (item.code === 200000724) {
|
28
|
+
url = HOST_MMS;
|
29
|
+
link.setAttribute(
|
30
|
+
'href',
|
31
|
+
`${url}?token=${ls.get('X-Auth-Token')}&tenantId=${tenantId}`
|
32
|
+
);
|
33
|
+
link.click();
|
34
|
+
} else if (item.platforms.length > 1) {
|
27
35
|
setPlatModal(true);
|
28
36
|
setPlatforms(item.platforms);
|
29
37
|
} else if (item.platforms.length == 1) {
|
30
38
|
if (item.code == 200000730 || item.code == 200000731) {
|
31
39
|
openModal(item.platforms[0].forwardDomainName);
|
32
40
|
} else {
|
33
|
-
if (
|
34
|
-
item.code == 200000729 ||
|
35
|
-
item.code == 200000728 ||
|
36
|
-
item.code === 200000724
|
37
|
-
) {
|
41
|
+
if (item.code == 200000729 || item.code == 200000728) {
|
38
42
|
let url = '';
|
39
43
|
if (item.code == 200000729) url = getCollabRedirectUrl();
|
40
44
|
if (item.code == 200000728) url = getBpmRedirectUrl();
|
41
|
-
if (item.code === 200000724) url = HOST_MMS;
|
42
45
|
link.setAttribute(
|
43
46
|
'href',
|
44
47
|
`${url}?token=${ls.get('X-Auth-Token')}&tenantId=${tenantId}`
|
package/lib/utils/request.js
CHANGED
package/package.json
CHANGED