摘要: 【转载自】:https://blog.csdn.net/qq_30378229/article/details/78429374 在Vue中this始终指向Vue,但axios中this为undefined,例如 若需要赋值给变量用以渲染数据,可以通过=>函数,这时this为Vue 或者可以直接通过 阅读全文
posted @ 2018-08-13 23:21 小德cyj 阅读(11340) 评论(2) 推荐(0) 编辑