2019年11月7日
摘要: 1.setTimeout/ setInterval 场景一 :this指向改变无法用this访问vue实例 mounted(){ setTimeout( function () { //setInterval同理 console.log(this); //此时this指向Window对象 },100 阅读全文
posted @ 2019-11-07 14:38 始终不够啊 阅读(140) 评论(0) 推荐(0) 编辑