Browse Source

test

master
domsgit 5 years ago
parent
commit
3d25af6d59
1 changed files with 2 additions and 2 deletions
  1. 4
      src/components/HelloWorld.vue

4
src/components/HelloWorld.vue

@ -41,11 +41,11 @@ export default {
mounted() {
axios
.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))
axios
.get('http://192.168.0.170:30011/hello')
.then(res => this.apimsg = res)
.then(res => this.apimsg = res.data)
.catch(err => console.error(err))
}
}

Loading…
Cancel
Save