angularjs中点击事件toggle在其他function调用无效,具体描述:
$scope.toggle = function (commentReplys) {
commentReplys.commentActive = !commentReplys.commentActive;
};想在另一个查询方法里调用
commentReplys.commentActive = !commentReplys.commentActive;
但是不会出现toggle
TheBigBangTheory
随时随地看视频慕课网APP