fantasy-ngzorro 1.1.37 → 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
  */
@@ -3925,10 +3930,8 @@
3925
3930
  * @return {?}
3926
3931
  */
3927
3932
  function (event) {
3928
- console.log('event', event);
3929
3933
  // 勾选只有在hideListNodes,取消勾选只有在nowListNodes
3930
3934
  if (event.node.origin.checked) {
3931
- console.log('走到了勾选');
3932
3935
  /** @type {?} */
3933
3936
  var node = new TreeGrid();
3934
3937
  node = this.hideListNodes.find((/**
@@ -3975,7 +3978,6 @@
3975
3978
  // if (this.hideListNodes.length === 0 && this.tableCacheOption && this.tableCacheOption.cols) {
3976
3979
  // this.hideListNodes = this.getHideListNodes();
3977
3980
  // }
3978
- console.log('走到非勾选逻辑');
3979
3981
  /** @type {?} */
3980
3982
  var temporaryNodeList_1 = this.hideListNodes.slice(0);
3981
3983
  this.nowListNodes.forEach((/**
@@ -4086,7 +4088,6 @@
4086
4088
  // 缓存一下表格的数据
4087
4089
  this.tableColsCache = __spread(this.tableCols);
4088
4090
  }
4089
- console.log('this.tableCols', this.tableCols);
4090
4091
  };
4091
4092
  /**
4092
4093
  * @return {?}
@@ -4095,7 +4096,7 @@
4095
4096
  * @return {?}
4096
4097
  */
4097
4098
  function () {
4098
- 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);
4099
4100
  };
4100
4101
  /**
4101
4102
  * @return {?}
@@ -4125,8 +4126,6 @@
4125
4126
  */
4126
4127
  function (_a, col) {
4127
4128
  var width = _a.width;
4128
- console.log('width', width);
4129
- console.log('col', col);
4130
4129
  /** @type {?} */
4131
4130
  var tempWidth = 0;
4132
4131
  if (width > col.minWidth) {
@@ -4135,7 +4134,6 @@
4135
4134
  else {
4136
4135
  tempWidth = col.minWidth;
4137
4136
  }
4138
- console.log('tempWidth', tempWidth);
4139
4137
  this.tableCacheOption.colWidths.set(col.title, tempWidth);
4140
4138
  this.saveTableCacheOption();
4141
4139
  this.tableCols = this.tableCols.map((/**
@@ -4544,6 +4542,8 @@
4544
4542
  /** @type {?} */
4545
4543
  HdTableComponent.prototype.localforage;
4546
4544
  /** @type {?} */
4545
+ HdTableComponent.prototype.localtionTmp;
4546
+ /** @type {?} */
4547
4547
  HdTableComponent.prototype.beforeDrop;
4548
4548
  /**
4549
4549
  * @type {?}