ecinc-cloud-wappaio 9.0.32 → 9.0.34

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.
@@ -215325,13 +215325,15 @@ if (sessionStorage.getItem('productCode')) {
215325
215325
  port = '-' + location.href.split("productCode=")[1].split("&")[0];
215326
215326
  }
215327
215327
  var TokenKey = (window.jwtTokenKey || 'ECWEB-JWTSSO-TOKEN') + port;
215328
- console.log('TokenKey:', TokenKey);
215329
215328
  var RoleKey = 'ECWEB-ROLE-CODE-LIST' + port;
215330
215329
  var PermissionKey = 'ECWEB-PERMISSION-LIST' + port;
215331
215330
  var OrganListKey = 'PERSON_ORGAN_LIST' + port;
215332
215331
  var auth_install = function install(Vue) {
215333
215332
  var Auth = new Vue({
215334
215333
  methods: {
215334
+ getTokenKey: function getTokenKey() {
215335
+ return TokenKey;
215336
+ },
215335
215337
  setProductCode: function setProductCode(productMap, sysCode) {
215336
215338
  if (productMap[sysCode]) {
215337
215339
  sessionStorage.setItem('productCode', productMap[sysCode]);
@@ -215334,13 +215334,15 @@ if (sessionStorage.getItem('productCode')) {
215334
215334
  port = '-' + location.href.split("productCode=")[1].split("&")[0];
215335
215335
  }
215336
215336
  var TokenKey = (window.jwtTokenKey || 'ECWEB-JWTSSO-TOKEN') + port;
215337
- console.log('TokenKey:', TokenKey);
215338
215337
  var RoleKey = 'ECWEB-ROLE-CODE-LIST' + port;
215339
215338
  var PermissionKey = 'ECWEB-PERMISSION-LIST' + port;
215340
215339
  var OrganListKey = 'PERSON_ORGAN_LIST' + port;
215341
215340
  var auth_install = function install(Vue) {
215342
215341
  var Auth = new Vue({
215343
215342
  methods: {
215343
+ getTokenKey: function getTokenKey() {
215344
+ return TokenKey;
215345
+ },
215344
215346
  setProductCode: function setProductCode(productMap, sysCode) {
215345
215347
  if (productMap[sysCode]) {
215346
215348
  sessionStorage.setItem('productCode', productMap[sysCode]);