angularjs中點(diǎn)擊事件toggle在其他function調(diào)用無(wú)效,具體描述:$scope.toggle?=?function?(commentReplys)?{
????commentReplys.commentActive?=?!commentReplys.commentActive;
};想在另一個(gè)查詢方法里調(diào)用commentReplys.commentActive?=?!commentReplys.commentActive;但是不會(huì)出現(xiàn)toggle
angularjs中點(diǎn)擊事件toggle在其他function調(diào)用無(wú)效
TheBigBangTheory
2016-03-15 14:52:32