myesn

myEsn2E9

hi
github

ABP: 手动设置当前页面在左侧菜单中的选中项

https://abp.io/docs/latest/framework/ui/mvc-razor-pages/page-header#the-selected-menu-item

@inject IPageLayout PageLayout
@{
    // 手动设置当前页面在左侧菜单中的选中项
    // https://abp.io/docs/latest/framework/ui/mvc-razor-pages/page-header#the-selected-menu-item
    PageLayout.Content.MenuItemName = "x.x.x";
}
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.