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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. 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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-vue-multi-pages-vite",
3
- "version": "1.3.21",
3
+ "version": "1.3.22",
4
4
  "author": "janesen",
5
5
  "description": "Vite-快速搭建VUE项目工具类的基本库,主要用于多个页面独立生成html",
6
6
  "main": "./dist/index.js",