2023年12月27日 星期三

避免開啟新視窗遭到瀏覽器封鎖

const redirectWindow = window.open(url, target);
redirectWindow.location;

沒有留言:

自訂權限驗證機制

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