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
|
@@ -2117,14 +2117,17 @@
|
|
|
2117
2117
|
// 获取是否跳过 location change
|
|
2118
2118
|
/** @type {?} */
|
|
2119
2119
|
var currentRoute = _this.router.routerState.root.firstChild;
|
|
2120
|
+
/** @type {?} */
|
|
2121
|
+
var title = state && state.title;
|
|
2120
2122
|
if (currentRoute && !skipLocationChange) {
|
|
2121
|
-
if (_this.tabList.length === 0 && !state) {
|
|
2122
|
-
return; // 初始化第一个url不加入multi-tab
|
|
2123
|
-
}
|
|
2124
2123
|
if (_this.noGenerateTabUrls.includes(_this.router.url)) {
|
|
2125
2124
|
return; // 排除不生成tab的url
|
|
2126
2125
|
}
|
|
2127
|
-
|
|
2126
|
+
if (_this.tabList.length === 0 && !state) {
|
|
2127
|
+
title = sessionStorage.getItem("firstTabTitle");
|
|
2128
|
+
sessionStorage.removeItem("firstTabTitle");
|
|
2129
|
+
}
|
|
2130
|
+
_this.setTab(_this.router.url, currentRoute.snapshot.routeConfig.path, title);
|
|
2128
2131
|
}
|
|
2129
2132
|
}
|
|
2130
2133
|
}));
|