@next-core/brick-kit 2.146.0 → 2.146.2

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,25 @@
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.146.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.146.1...@next-core/brick-kit@2.146.2) (2022-09-29)
7
+
8
+ **Note:** Version bump only for package @next-core/brick-kit
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.146.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.146.0...@next-core/brick-kit@2.146.1) (2022-09-28)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * fix standalone jump problem ([e61c446](https://github.com/easyops-cn/next-core/commit/e61c446e70bc9421977c045962d8e70e226df14e))
20
+
21
+
22
+
23
+
24
+
6
25
  # [2.146.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.145.3...@next-core/brick-kit@2.146.0) (2022-09-28)
7
26
 
8
27
 
@@ -12020,16 +12020,16 @@
12020
12020
 
12021
12021
  _this.locationContext.messageDispatcher.reset();
12022
12022
 
12023
- var storyboard = _this.locationContext.matchStoryboard(_this.kernel.bootstrapData.storyboards, location);
12023
+ var storyboard = _this.locationContext.matchStoryboard(_this.kernel.bootstrapData.storyboards, location); // Whether non-standalone app to standalone app, or standlone app to non-standalone app
12024
+ // window should reload to refresh the resource
12025
+
12024
12026
 
12025
12027
  if (!window.STANDALONE_MICRO_APPS) {
12026
12028
  if (storyboard && storyboard.app.standaloneMode) {
12027
- // from non-standalone app to standalone app, should jump out off site
12028
- window.location.assign(window.location.href);
12029
+ window.location.reload();
12029
12030
  }
12030
12031
  } else {
12031
12032
  if (!storyboard) {
12032
- // from standalone app goback to non-standalone app, should reload
12033
12033
  window.location.reload();
12034
12034
  }
12035
12035
  }