fast-vue-multi-pages-vite 1.3.21 → 1.3.22
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -678,7 +678,7 @@ var FastVueMultiWindow = class FastVueMultiWindow {
|
|
|
678
678
|
let urls = [];
|
|
679
679
|
if (window["__LOCATION_HREF"]) urls.push(window["__LOCATION_HREF"]);
|
|
680
680
|
let _get_all_url = (fromWindow) => {
|
|
681
|
-
if (!fromWindow) return;
|
|
681
|
+
if (!fromWindow || fromWindow === window.top) return;
|
|
682
682
|
urls.push(fromWindow.location.href);
|
|
683
683
|
if (fromWindow.parent && fromWindow.parent === fromWindow) return;
|
|
684
684
|
_get_all_url(fromWindow.parent);
|