摘要: 在ajax的success中无法使用this,this不会指向vue的this。 解决:success使用箭头函数,success: res=>{ console.log(this) } 阅读全文