@lambo-design/shared 1.0.0-beta.28 → 1.0.0-beta.29
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 +2 -2
package/package.json
CHANGED
package/utils/platform.js
CHANGED
|
@@ -583,10 +583,10 @@ export const getDelTagIndex = (tagList, name) => {
|
|
|
583
583
|
return count;
|
|
584
584
|
}
|
|
585
585
|
|
|
586
|
-
export const goHome = (vm, name) =>{
|
|
586
|
+
export const goHome = (vm, name ,url) =>{
|
|
587
587
|
let params = getUrlParams();
|
|
588
588
|
if (params && params.layout) {
|
|
589
|
-
|
|
589
|
+
window.parent.location.href = url;
|
|
590
590
|
} else {
|
|
591
591
|
vm.$router.push({
|
|
592
592
|
name: name
|