raise-common-lib 0.0.41 → 0.0.42
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 -4
- 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/layout/multi-tab/index.component.js +8 -5
- package/esm5/lib/layout/multi-tab/index.component.js +8 -5
- package/fesm2015/raise-common-lib.js +7 -4
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +7 -4
- package/fesm5/raise-common-lib.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/style/reset/button.scss +18 -2
- package/src/assets/style/reset/dropdown.scss +2 -2
- package/src/assets/style/reset/grid.scss +23 -0
- package/src/assets/style/reset/input.scss +6 -0
- package/src/assets/style/variables.scss +1 -1
|
@@ -1922,14 +1922,17 @@ var MultiTabComponent = /** @class */ (function () {
|
|
|
1922
1922
|
// 获取是否跳过 location change
|
|
1923
1923
|
/** @type {?} */
|
|
1924
1924
|
var currentRoute = _this.router.routerState.root.firstChild;
|
|
1925
|
+
/** @type {?} */
|
|
1926
|
+
var title = state && state.title;
|
|
1925
1927
|
if (currentRoute && !skipLocationChange) {
|
|
1926
|
-
if (_this.tabList.length === 0 && !state) {
|
|
1927
|
-
return; // 初始化第一个url不加入multi-tab
|
|
1928
|
-
}
|
|
1929
1928
|
if (_this.noGenerateTabUrls.includes(_this.router.url)) {
|
|
1930
1929
|
return; // 排除不生成tab的url
|
|
1931
1930
|
}
|
|
1932
|
-
|
|
1931
|
+
if (_this.tabList.length === 0 && !state) {
|
|
1932
|
+
title = sessionStorage.getItem("firstTabTitle");
|
|
1933
|
+
sessionStorage.removeItem("firstTabTitle");
|
|
1934
|
+
}
|
|
1935
|
+
_this.setTab(_this.router.url, currentRoute.snapshot.routeConfig.path, title);
|
|
1933
1936
|
}
|
|
1934
1937
|
}
|
|
1935
1938
|
}));
|