fix: Blazor 网页跟踪确实 Pages 路径
This commit is contained in:
parent
b7bede8921
commit
4010fb8efb
|
@ -35,7 +35,7 @@ namespace Bootstrap.Admin.Pages.Components
|
|||
if (t != null)
|
||||
{
|
||||
// 访问日志
|
||||
if (HttpContextAccessor != null) HttpContextAccessor.HttpContext.SaveOnlineUser(Name);
|
||||
if (HttpContextAccessor != null) HttpContextAccessor.HttpContext?.SaveOnlineUser($"/Pages/{Name}");
|
||||
|
||||
builder.OpenComponent(0, t);
|
||||
builder.CloseComponent();
|
||||
|
|
Loading…
Reference in New Issue