@lambo-design/shared 1.0.0-beta.30 → 1.0.0-beta.32
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 +1 -1
- package/utils/platform.js +4 -3
package/package.json
CHANGED
package/utils/platform.js
CHANGED
|
@@ -584,11 +584,12 @@ export const getDelTagIndex = (tagList, name) => {
|
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
export const turnToPage = (vm, name ,url) =>{
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
587
|
+
if (window.parent) {
|
|
588
|
+
console.log("url="+url)
|
|
589
|
+
sessionStorage.removeItem('activeName')
|
|
590
590
|
window.parent.location.href = url;
|
|
591
591
|
} else {
|
|
592
|
+
console.log("name="+name)
|
|
592
593
|
vm.$router.push({
|
|
593
594
|
name: name
|
|
594
595
|
})
|