Commit 854a9190 authored by 黄媛媛's avatar 黄媛媛

修改跳转地址

parent 0dc44dda
......@@ -473,7 +473,13 @@ export default {
methods:{
GoZcUrl(){
window.open("http://www.test.com:8080")
let url='';
if (!this.isOnline()) {
url="http://www.test.com:8081/#/";
}else{
url="http://yx.oytour.com/#/";
}
window.open(url)
},
inited (viewer){
this.$viewer = viewer
......
......@@ -1958,11 +1958,19 @@ export default {
},
LogSetReadStatus(s) {
if(s.Type==7){
let path=s.Link;
let url="";
if (!this.isOnline()) {
url="http://www.test.com:8081/#/";
}else{
url="http://yx.oytour.com/#/";
}
let path=url+s.Link;
console.log("path",path)
let routeData = this.$router.resolve({
name: path
})
window.open(routeData.href, '_blank')
window.open(path, '_blank')
}
else{
this.apipost(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment