fantasy-ngzorro 1.1.6 → 1.1.8
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/bundles/fantasy-ngzorro.umd.js +22 -1
- package/bundles/fantasy-ngzorro.umd.js.map +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
- package/esm2015/hd-table/hd-table.component.js +22 -2
- package/esm5/hd-table/hd-table.component.js +23 -2
- package/fesm2015/fantasy-ngzorro.js +22 -2
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +23 -2
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/package.json +1 -1
|
@@ -3503,6 +3503,15 @@
|
|
|
3503
3503
|
return rxjs.of(true).pipe(operators.delay(100));
|
|
3504
3504
|
}
|
|
3505
3505
|
});
|
|
3506
|
+
// 初始化 localforage
|
|
3507
|
+
localforage.config({
|
|
3508
|
+
driver: localforage.INDEXEDDB,
|
|
3509
|
+
name: 'hd-fscm',
|
|
3510
|
+
// 设置存储库的名称
|
|
3511
|
+
version: 1.0,
|
|
3512
|
+
// 设置存储库的版本
|
|
3513
|
+
storeName: 'hd-fscm-store',
|
|
3514
|
+
});
|
|
3506
3515
|
}
|
|
3507
3516
|
/**
|
|
3508
3517
|
* @return {?}
|
|
@@ -3511,6 +3520,7 @@
|
|
|
3511
3520
|
* @return {?}
|
|
3512
3521
|
*/
|
|
3513
3522
|
function () {
|
|
3523
|
+
var _this = this;
|
|
3514
3524
|
this.userSession = this.commonSessionService.getSession('__jy_authorization_session__');
|
|
3515
3525
|
// 用于开发环境调试
|
|
3516
3526
|
if (!this.userSession) {
|
|
@@ -3518,7 +3528,18 @@
|
|
|
3518
3528
|
userCode: 'dev'
|
|
3519
3529
|
};
|
|
3520
3530
|
}
|
|
3521
|
-
|
|
3531
|
+
localforage.ready().then((/**
|
|
3532
|
+
* @return {?}
|
|
3533
|
+
*/
|
|
3534
|
+
function () {
|
|
3535
|
+
_this.getInitLocalforage();
|
|
3536
|
+
})).catch((/**
|
|
3537
|
+
* @param {?} e
|
|
3538
|
+
* @return {?}
|
|
3539
|
+
*/
|
|
3540
|
+
function (e) {
|
|
3541
|
+
throw 'localforage加载异常';
|
|
3542
|
+
}));
|
|
3522
3543
|
};
|
|
3523
3544
|
/**
|
|
3524
3545
|
* @return {?}
|