@next-core/brick-kit 2.143.0 → 2.144.0
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/CHANGELOG.md +11 -0
- package/dist/index.bundle.js +10 -0
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +10 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/types/core/Router.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -12074,6 +12074,16 @@ class Router {
|
|
|
12074
12074
|
if (storyboard) {
|
|
12075
12075
|
var _storyboard$meta, _storyboard$meta2, _storyboard$meta3;
|
|
12076
12076
|
|
|
12077
|
+
if (!window.STANDALONE_MICRO_APPS) {
|
|
12078
|
+
if (storyboard.app.standaloneMode) {
|
|
12079
|
+
// if nextApp was standalone micro-apps, use location.replace to reload window;
|
|
12080
|
+
var path = history.createHref({
|
|
12081
|
+
pathname: storyboard.app.homepage
|
|
12082
|
+
});
|
|
12083
|
+
window.location.replace(path);
|
|
12084
|
+
}
|
|
12085
|
+
}
|
|
12086
|
+
|
|
12077
12087
|
yield _this3.kernel.fulfilStoryboard(storyboard); // 将动态解析后的模板还原,以便重新动态解析。
|
|
12078
12088
|
|
|
12079
12089
|
restoreDynamicTemplates(storyboard); // 预加载权限信息
|