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

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.35",
3
+ "version": "1.0.0-beta.36",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
package/utils/platform.js CHANGED
@@ -584,13 +584,10 @@ export const getDelTagIndex = (tagList, name) => {
584
584
  }
585
585
 
586
586
  export const turnToPage = (vm, name ,url) =>{
587
- console.log("window.top=",window.top)
588
- if (window.top && window.top.location.href == window.location.href) {
589
- console.log("url="+url)
590
- /*sessionStorage.removeItem('activeName')
591
- window.parent.location.href = url;*/
587
+ if (window.top && window.top.location.href != window.location.href) {
588
+ sessionStorage.removeItem('activeName')
589
+ window.parent.location.href = url;
592
590
  } else {
593
- console.log("name="+name)
594
591
  vm.$router.push({
595
592
  name: name
596
593
  })