@lambo-design/shared 1.0.0-beta.34 → 1.0.0-beta.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/shared",
3
- "version": "1.0.0-beta.34",
3
+ "version": "1.0.0-beta.35",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
package/utils/platform.js CHANGED
@@ -584,8 +584,8 @@ export const getDelTagIndex = (tagList, name) => {
584
584
  }
585
585
 
586
586
  export const turnToPage = (vm, name ,url) =>{
587
- console.log("window.parent=",window.parent)
588
- if (window.parent) {
587
+ console.log("window.top=",window.top)
588
+ if (window.top && window.top.location.href == window.location.href) {
589
589
  console.log("url="+url)
590
590
  /*sessionStorage.removeItem('activeName')
591
591
  window.parent.location.href = url;*/