this.$http.get('https://crossorigin.me/https:...', {
'key': 'xyr3ypdeuu9nslqy',
'unit': 'c',
'location': 'beijing',
'language': 'zh-Hans'
}).then(function (response) {
this.weather = response.data.results[0]
console.log(response.data.results[0])
},
function (response) {
console.log(response)
})
相关分类