摘要: 小程序的js函数中,一般第一句就是var that=this,那么此语句的必要性是什么呢?下面用一段代码来解释这个问题 这段程序报错:Cannot read property 'questionId' of undefined 这是因为在javascript语言中,this代表着当前的对象,它在程序 阅读全文
posted @ 2018-08-01 11:07 luozx207 阅读(249) 评论(0) 推荐(0) 编辑