raise-common-lib 0.0.143 → 0.0.145
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/raise-common-lib.umd.js +7 -5
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -1
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/form/drawer-form/drawer-form.component.js +4 -2
- package/esm2015/lib/layout/multi-tab/index.component.js +5 -5
- package/esm5/lib/form/drawer-form/drawer-form.component.js +4 -2
- package/esm5/lib/layout/multi-tab/index.component.js +5 -5
- package/fesm2015/raise-common-lib.js +7 -5
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +7 -5
- package/fesm5/raise-common-lib.js.map +1 -1
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
|
@@ -3407,7 +3407,7 @@ var MultiTabComponent = /** @class */ (function () {
|
|
|
3407
3407
|
* @return {?}
|
|
3408
3408
|
*/
|
|
3409
3409
|
function (ele) { return ele.url !== tab.url; }));
|
|
3410
|
-
this.clearCache(
|
|
3410
|
+
this.clearCache(tab.url);
|
|
3411
3411
|
if (!noChange && this.selectedTab === idx) {
|
|
3412
3412
|
/** @type {?} */
|
|
3413
3413
|
var targetIdx = Math.max(0, idx - 1);
|
|
@@ -3463,7 +3463,7 @@ var MultiTabComponent = /** @class */ (function () {
|
|
|
3463
3463
|
* @return {?}
|
|
3464
3464
|
*/
|
|
3465
3465
|
function (ele) { return ele.url !== secondTab_1.url; }));
|
|
3466
|
-
this.clearCache(
|
|
3466
|
+
this.clearCache(secondTab_1.url);
|
|
3467
3467
|
}
|
|
3468
3468
|
/** @type {?} */
|
|
3469
3469
|
var localPermissions = sessionStorage.getItem("permissions") ||
|
|
@@ -3522,7 +3522,7 @@ var MultiTabComponent = /** @class */ (function () {
|
|
|
3522
3522
|
* @return {?}
|
|
3523
3523
|
*/
|
|
3524
3524
|
function (ele) { return !ele.url.includes(_this.singleReuseUrls[singleIdx_1]); }));
|
|
3525
|
-
this.keepAlive.clearCache(url);
|
|
3525
|
+
this.keepAlive.clearCache(this.urlWithoutQuery(url));
|
|
3526
3526
|
this.drawer.deleteCache(url);
|
|
3527
3527
|
}
|
|
3528
3528
|
this.addTab(url, title);
|
|
@@ -3586,7 +3586,7 @@ var MultiTabComponent = /** @class */ (function () {
|
|
|
3586
3586
|
* @return {?}
|
|
3587
3587
|
*/
|
|
3588
3588
|
function (url) {
|
|
3589
|
-
this.keepAlive.clearCache(url); // 调用自定义策略的清除缓存方法
|
|
3589
|
+
this.keepAlive.clearCache(this.urlWithoutQuery(url)); // 调用自定义策略的清除缓存方法
|
|
3590
3590
|
this.drawer.deleteCache(url);
|
|
3591
3591
|
};
|
|
3592
3592
|
/**
|
|
@@ -22048,7 +22048,9 @@ var DrawerFormComponent = /** @class */ (function () {
|
|
|
22048
22048
|
if (previous[key] !== currentValue) {
|
|
22049
22049
|
/** @type {?} */
|
|
22050
22050
|
var field = _this.getField(key);
|
|
22051
|
-
|
|
22051
|
+
if (field) {
|
|
22052
|
+
_this.formItemValidator(field);
|
|
22053
|
+
}
|
|
22052
22054
|
}
|
|
22053
22055
|
}));
|
|
22054
22056
|
};
|