@next-core/brick-kit 2.146.0 → 2.146.1
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 +4 -4
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
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.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)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fix standalone jump problem ([e61c446](https://github.com/easyops-cn/next-core/commit/e61c446e70bc9421977c045962d8e70e226df14e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [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
18
|
|
|
8
19
|
|
package/dist/index.bundle.js
CHANGED
|
@@ -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
|
-
|
|
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
|
}
|