reloadData() 重用cell之后,按钮的点击事件触发不了。。。。全部都点击不了,必现!
tableCellAtIndex:function (table, idx) { var self = this; var cell = table.dequeueCell(); if (!cell) { cell = new code.AdventureChapterCell(self.chapterInfo[idx]); }else{ cell.refreshUI(self.chapterInfo[idx]); } return cell; },
refreshUI只是更新数据,然后按钮就点击不了。。