2017年7月26日 星期三

手動執行 $scope.$apply() 避免出錯

if (!$scope.$$phase) $scope.$apply();

沒有留言:

自訂權限驗證機制

// 使用 filter [Route("api/[controller]")] [ApiController] [Authorize] [TypeFilter(typeof(CustomAsyncAuthorizationFilter))] public c...