Abp Vnext 的 Vue3 实现版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
623 B

using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc.UI.RazorPages;
using Volo.Abp.Users;
namespace CompanyName.ProjectName.Pages
{
public class IndexModel : AbpPageModel
{
private readonly ICurrentUser _currentUser;
public IndexModel(ICurrentUser currentUser)
{
_currentUser = currentUser;
}
// public IActionResult OnGet()
// {
// if (_currentUser.IsAuthenticated)
// {
// return RedirectToPage("/Welcome");
// }
// return RedirectToPage("/Account/Login");
// }
}
}