@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 CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.144.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.143.0...@next-core/brick-kit@2.144.0) (2022-09-25)
7
+
8
+
9
+ ### Features
10
+
11
+ * support micro-app jump to standalone-app ([b469a35](https://github.com/easyops-cn/next-core/commit/b469a35858bb01d3bb8f0032ed70df4b63e69d0f))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.143.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.142.0...@next-core/brick-kit@2.143.0) (2022-09-25)
7
18
 
8
19
 
@@ -12073,6 +12073,16 @@
12073
12073
  if (storyboard) {
12074
12074
  var _storyboard$meta, _storyboard$meta2, _storyboard$meta3;
12075
12075
 
12076
+ if (!window.STANDALONE_MICRO_APPS) {
12077
+ if (storyboard.app.standaloneMode) {
12078
+ // if nextApp was standalone micro-apps, use location.replace to reload window;
12079
+ var path = history.createHref({
12080
+ pathname: storyboard.app.homepage
12081
+ });
12082
+ window.location.replace(path);
12083
+ }
12084
+ }
12085
+
12076
12086
  yield _this3.kernel.fulfilStoryboard(storyboard); // 将动态解析后的模板还原,以便重新动态解析。
12077
12087
 
12078
12088
  brickUtils.restoreDynamicTemplates(storyboard); // 预加载权限信息