2017年4月7日 星期五

設定div 高度為最大可用高度

.directive('grid', function () {
        return {
            link: function (scope, elem, attrs) {
                $(elem).height($(window).height() - $(elem).offset().top);
            }
        };
    })

沒有留言:

自訂權限驗證機制

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