@ -28,6 +28,10 @@ export default {
name: 'HelloWorld',
props: {
msg: String
},
create() {
console.log(fetch('http://192.168.0.170:30011/hello'))
console.log(fetch('http://192.168.0.170:30011/hello').then(res=>res.json()).then(res=>console.log(res)))
}
</script>