fix hostname
This commit is contained in:
@@ -47,9 +47,6 @@ export default{
|
||||
]
|
||||
}
|
||||
},
|
||||
created(){
|
||||
console.log(this.$props.items)
|
||||
},
|
||||
methods:{
|
||||
redirectHome: function(){
|
||||
return '/';
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user