jquery里的$('this')和小程序里的this

都是指向当前最近的一个方法,如果在ajax请求里面用或者定时器里面,需要在外面定义一下,
jquery:var $this= $(this)  
小程序:var that = this
再请求里面引用
原文地址:https://www.cnblogs.com/yaoling/p/13299111.html