fix hostname

This commit is contained in:
fifi97
2022-01-11 23:31:17 +08:00
parent 0f09fdcdbd
commit c6013d897c
6 changed files with 35 additions and 152 deletions
-3
View File
@@ -47,9 +47,6 @@ export default{
]
}
},
created(){
console.log(this.$props.items)
},
methods:{
redirectHome: function(){
return '/';
+4 -4
View File
@@ -85,7 +85,7 @@
case 'JLI':
case 'ARP':
case '020303':{
this.sethostname('http://localhost:8000')
this.sethostname('http://api.arrahn')
console.log(this.$hostname)
break;
}
@@ -101,7 +101,7 @@
case '011013':
case '011412':{
// this.$hostname = 'http://api2.arrahn'
this.sethostname('http://localhost:8000')
this.sethostname('http://api2.arrahn')
console.log(this.$hostname)
break;
}
@@ -113,11 +113,11 @@
case '011234':
case '011233':{
// this.$hostname = 'http://api3.arrahn'
this.sethostname('http://localhost:8000')
this.sethostname('http://api3.arrahn')
console.log(this.$hostname)
break;
}
default: this.sethostname('http://localhost:8000')
default: this.sethostname('http://api.arrahn')
break;
}
}