ecinc-cloud-mappaio 9.6.150 → 9.6.152
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/lib/ecmappaio.common.js
CHANGED
|
@@ -41517,8 +41517,12 @@ var auth_install = function install(Vue) {
|
|
|
41517
41517
|
token = js_cookie_default().get(TokenKey);
|
|
41518
41518
|
var pcode = sessionStorage.getItem('productCode');
|
|
41519
41519
|
pcode = pcode === 'undefined' ? null : pcode;
|
|
41520
|
-
if (!token &&
|
|
41521
|
-
|
|
41520
|
+
if (!token && !pcode) {
|
|
41521
|
+
if (port === '-') {
|
|
41522
|
+
token = js_cookie_default().get(window.jwtTokenKey || 'ECWEB-JWTSSO-TOKEN');
|
|
41523
|
+
} else {
|
|
41524
|
+
token = js_cookie_default().get((window.jwtTokenKey || 'ECWEB-JWTSSO-TOKEN') + port);
|
|
41525
|
+
}
|
|
41522
41526
|
}
|
|
41523
41527
|
}
|
|
41524
41528
|
return token === 'undefined' ? null : token;
|
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -41527,8 +41527,12 @@ var auth_install = function install(Vue) {
|
|
|
41527
41527
|
token = js_cookie_default().get(TokenKey);
|
|
41528
41528
|
var pcode = sessionStorage.getItem('productCode');
|
|
41529
41529
|
pcode = pcode === 'undefined' ? null : pcode;
|
|
41530
|
-
if (!token &&
|
|
41531
|
-
|
|
41530
|
+
if (!token && !pcode) {
|
|
41531
|
+
if (port === '-') {
|
|
41532
|
+
token = js_cookie_default().get(window.jwtTokenKey || 'ECWEB-JWTSSO-TOKEN');
|
|
41533
|
+
} else {
|
|
41534
|
+
token = js_cookie_default().get((window.jwtTokenKey || 'ECWEB-JWTSSO-TOKEN') + port);
|
|
41535
|
+
}
|
|
41532
41536
|
}
|
|
41533
41537
|
}
|
|
41534
41538
|
return token === 'undefined' ? null : token;
|