fantasy-ngzorro 1.1.27 → 1.1.28
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 +13 -0
- 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 +14 -1
- package/esm5/hd-table/hd-table.component.js +14 -1
- package/fesm2015/fantasy-ngzorro.js +13 -0
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +13 -0
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/package.json +1 -1
|
@@ -3533,6 +3533,19 @@
|
|
|
3533
3533
|
*/
|
|
3534
3534
|
function () {
|
|
3535
3535
|
var _this = this;
|
|
3536
|
+
// 首先把isShow为false数据剔除掉
|
|
3537
|
+
this.tableCols = this.tableCols.filter((/**
|
|
3538
|
+
* @param {?} item
|
|
3539
|
+
* @return {?}
|
|
3540
|
+
*/
|
|
3541
|
+
function (item) {
|
|
3542
|
+
// 如果对象没有 isShow 属性,则默认为 true,保留该对象
|
|
3543
|
+
if (!item.hasOwnProperty('isShow')) {
|
|
3544
|
+
return true;
|
|
3545
|
+
}
|
|
3546
|
+
// 如果对象有 isShow 属性,则检查其值是否为 true
|
|
3547
|
+
return item.isShow === true;
|
|
3548
|
+
}));
|
|
3536
3549
|
this.userSession = this.commonSessionService.getSession('__jy_authorization_session__');
|
|
3537
3550
|
// 用于开发环境调试
|
|
3538
3551
|
if (!this.userSession) {
|