📅  最后修改于: 2022-03-11 14:52:50.490000             🧑  作者: Mango
new Vue({
el: '#app',
data () {
return {
info: null
}
},
mounted () {
axios
.get('https://api.coindesk.com/v1/bpi/currentprice.json')
.then(response => (this.info = response))
}
})