|
@@ -45,7 +45,13 @@ import {outlinkConfigInterence} from "@/api/modules/etaBaseConfigApi.js"
|
|
|
})
|
|
|
},
|
|
|
gotoOutlink(item){
|
|
|
- window.open(item.Url, '_blank')
|
|
|
+ let Url = item.Url
|
|
|
+ if(!(item.Url.startsWith("http://") || item.Url.startsWith("https://") || item.Url.startsWith("ftp://") ||
|
|
|
+ item.Url.startsWith("ftps://") || item.Url.startsWith("file://") || item.Url.startsWith("\/"))){
|
|
|
+ Url = "http://"+item.Url
|
|
|
+ }
|
|
|
+ // console.log(Url);
|
|
|
+ window.open(Url, '_blank')
|
|
|
}
|
|
|
},
|
|
|
}
|