let _this = this
let _this = this;
_this.$axios.get("https://jsonplaceholder.typicode.com/posts")
.then(response => {
// console.log(response);
_this.blogs = response.data.slice(0, 15);
})
箭头函数
.then(response => {
console.log(response);
this.submitShow = true
})
明显箭头函数比let _this = this简单得多