fantasy-ngzorro 1.1.38 → 1.1.39

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.
@@ -3516,6 +3516,7 @@
3516
3516
  this.cancelHideListNodes = [];
3517
3517
  this.showDetail = false;
3518
3518
  this.localforage = null;
3519
+ this.localtionTmp = '';
3519
3520
  // 拖拽操作
3520
3521
  this.beforeDrop = (/**
3521
3522
  * @param {?} arg
@@ -3573,6 +3574,10 @@
3573
3574
  var _this = this;
3574
3575
  console.log('local', location);
3575
3576
  console.log('window', window);
3577
+ this.localtionTmp = location.pathname;
3578
+ if (this.localtionTmp) {
3579
+ this.localtionTmp = this.localtionTmp.replace(/\//g, "_");
3580
+ }
3576
3581
  this.userSession = this.commonSessionService.getSession('__jy_authorization_session__');
3577
3582
  // 用于开发环境调试
3578
3583
  if (!this.userSession) {
@@ -3677,7 +3682,7 @@
3677
3682
  function () {
3678
3683
  var _this = this;
3679
3684
  // 首先获取当前hd-table存储的数据 如果没有,则初始化下当前的数据
3680
- this.localforage.getItem('hd-table_' + this.userSession.userCode + '_' + this.uuid).then((/**
3685
+ this.localforage.getItem('hd-table_' + this.userSession.userCode + '_' + this.localtionTmp + '_' + this.uuid).then((/**
3681
3686
  * @param {?} value
3682
3687
  * @return {?}
3683
3688
  */
@@ -4091,7 +4096,7 @@
4091
4096
  * @return {?}
4092
4097
  */
4093
4098
  function () {
4094
- this.localforage.setItem('hd-table_' + this.userSession.userCode + '_' + this.uuid, this.tableCacheOption);
4099
+ this.localforage.setItem('hd-table_' + this.userSession.userCode + '_' + this.localtionTmp + '_' + this.uuid, this.tableCacheOption);
4095
4100
  };
4096
4101
  /**
4097
4102
  * @return {?}
@@ -4537,6 +4542,8 @@
4537
4542
  /** @type {?} */
4538
4543
  HdTableComponent.prototype.localforage;
4539
4544
  /** @type {?} */
4545
+ HdTableComponent.prototype.localtionTmp;
4546
+ /** @type {?} */
4540
4547
  HdTableComponent.prototype.beforeDrop;
4541
4548
  /**
4542
4549
  * @type {?}