raise-common-lib 0.0.40 → 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 +8 -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 +2 -2
- package/esm2015/lib/layout/multi-tab/index.component.js +8 -5
- package/esm5/lib/form/drawer-form/drawer-form.component.js +2 -2
- package/esm5/lib/layout/multi-tab/index.component.js +8 -5
- package/fesm2015/raise-common-lib.js +8 -5
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +8 -5
- 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 +77 -1
- 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
|
}));
|
|
@@ -20392,8 +20395,8 @@
|
|
|
20392
20395
|
var newForm = __assign({}, this.form, (_a = {}, _a[field.formKey] = value, _a));
|
|
20393
20396
|
// 修复错误提示显示 bug,不设置一下有概率拿不到最新的值
|
|
20394
20397
|
this.form = newForm;
|
|
20395
|
-
this.fieldChange.emit({ field: field, value: value });
|
|
20396
20398
|
this.formChange.emit(newForm);
|
|
20399
|
+
this.fieldChange.emit({ field: field, value: value });
|
|
20397
20400
|
};
|
|
20398
20401
|
/**
|
|
20399
20402
|
* @param {?} field
|