@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/dist/index.esm.js
CHANGED
|
@@ -12021,16 +12021,16 @@ class Router {
|
|
|
12021
12021
|
|
|
12022
12022
|
_this.locationContext.messageDispatcher.reset();
|
|
12023
12023
|
|
|
12024
|
-
var storyboard = _this.locationContext.matchStoryboard(_this.kernel.bootstrapData.storyboards, location);
|
|
12024
|
+
var storyboard = _this.locationContext.matchStoryboard(_this.kernel.bootstrapData.storyboards, location); // Whether non-standalone app to standalone app, or standlone app to non-standalone app
|
|
12025
|
+
// window should reload to refresh the resource
|
|
12026
|
+
|
|
12025
12027
|
|
|
12026
12028
|
if (!window.STANDALONE_MICRO_APPS) {
|
|
12027
12029
|
if (storyboard && storyboard.app.standaloneMode) {
|
|
12028
|
-
|
|
12029
|
-
window.location.assign(window.location.href);
|
|
12030
|
+
window.location.reload();
|
|
12030
12031
|
}
|
|
12031
12032
|
} else {
|
|
12032
12033
|
if (!storyboard) {
|
|
12033
|
-
// from standalone app goback to non-standalone app, should reload
|
|
12034
12034
|
window.location.reload();
|
|
12035
12035
|
}
|
|
12036
12036
|
}
|