|
|
@ -41,11 +41,11 @@ export default { |
|
|
mounted() { |
|
|
mounted() { |
|
|
axios |
|
|
axios |
|
|
.get('http://192.168.0.170:30532/mock/45/hello') |
|
|
.get('http://192.168.0.170:30532/mock/45/hello') |
|
|
.then(res => this.mockmsg = res) |
|
|
|
|
|
|
|
|
.then(res => this.mockmsg = res.data) |
|
|
.catch(err => console.error(err)) |
|
|
.catch(err => console.error(err)) |
|
|
axios |
|
|
axios |
|
|
.get('http://192.168.0.170:30011/hello') |
|
|
.get('http://192.168.0.170:30011/hello') |
|
|
.then(res => this.apimsg = res) |
|
|
|
|
|
|
|
|
.then(res => this.apimsg = res.data) |
|
|
.catch(err => console.error(err)) |
|
|
.catch(err => console.error(err)) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|