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