diff --git a/src/AbpDesk/AbpDesk.Web.Mvc/Views/Shared/_Layout.cshtml b/src/AbpDesk/AbpDesk.Web.Mvc/Views/Shared/_Layout.cshtml index 05543ebd76..e6eb0a966a 100644 --- a/src/AbpDesk/AbpDesk.Web.Mvc/Views/Shared/_Layout.cshtml +++ b/src/AbpDesk/AbpDesk.Web.Mvc/Views/Shared/_Layout.cshtml @@ -1,4 +1,4 @@ -@using AbpDesk.Web.Mvc.Views.Shared.Components.Menu +@using Volo.Abp.Ui.Navigation @{ Layout = null; } @@ -13,7 +13,8 @@ - @await Component.InvokeAsync(typeof(MenuViewComponent)) + + @RenderBody() diff --git a/src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewImports.cshtml b/src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewImports.cshtml index 9018c7897f..7384078c94 100644 --- a/src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewImports.cshtml +++ b/src/AbpDesk/AbpDesk.Web.Mvc/Views/_ViewImports.cshtml @@ -1 +1,2 @@ -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers \ No newline at end of file +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper *, AbpDesk.Web.Mvc \ No newline at end of file