axios has been installed and
has been introduced in the entry file. I wrote the following in the component but reported this error.
at first I wrote not this.axios but axios, but this indicates that axios is not defined, but I have introduced it in the entry file, ah, later changed to the following writing method, but still reported an error this is why? Use axios
created () {
this.axios.get("http://api.douban.com/v2/movie/in_theaters")
.then(function (response) {
console.log(response)
})
.catch(function (response) {
console.log(response)
})
}