fantasy-ngzorro 1.1.30 → 1.1.31

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.
@@ -3533,6 +3533,13 @@
3533
3533
  */
3534
3534
  function () {
3535
3535
  var _this = this;
3536
+ this.userSession = this.commonSessionService.getSession('__jy_authorization_session__');
3537
+ // 用于开发环境调试
3538
+ if (!this.userSession) {
3539
+ this.userSession = {
3540
+ userCode: 'dev'
3541
+ };
3542
+ }
3536
3543
  // 首先把isShow为false数据剔除掉
3537
3544
  this.tableCols = this.tableCols.filter((/**
3538
3545
  * @param {?} item
@@ -3549,13 +3556,6 @@
3549
3556
  if (!this.tableCols || this.tableCols.length === 0) {
3550
3557
  return;
3551
3558
  }
3552
- this.userSession = this.commonSessionService.getSession('__jy_authorization_session__');
3553
- // 用于开发环境调试
3554
- if (!this.userSession) {
3555
- this.userSession = {
3556
- userCode: 'dev'
3557
- };
3558
- }
3559
3559
  this.localforage.ready().then((/**
3560
3560
  * @return {?}
3561
3561
  */
@@ -3566,6 +3566,7 @@
3566
3566
  * @return {?}
3567
3567
  */
3568
3568
  function (e) {
3569
+ console.log('localforage加载异常step1', e);
3569
3570
  throw 'localforage加载异常';
3570
3571
  }));
3571
3572
  };
@@ -3598,6 +3599,7 @@
3598
3599
  * @return {?}
3599
3600
  */
3600
3601
  function (e) {
3602
+ console.log('localforage加载异常step2', e);
3601
3603
  throw 'localforage加载异常';
3602
3604
  }));
3603
3605
  }