angularJs實現當前視圖刷新該怎么做
1 回答

慕少森
TA貢獻2019條經驗 獲得超9個贊
解決方案:
var el=$(this);
$scope.$apply(function () {
$scope.currentChallenge.comments.push({
"user": $scope.currentUser,
"message": el.val()
});
});
- 1 回答
- 0 關注
- 969 瀏覽
添加回答
舉報
0/150
提交
取消