refactor: 更改 Layout 母版页
This commit is contained in:
parent
531cafc11c
commit
49b33137e6
|
@ -1,4 +1,4 @@
|
|||
@inherits AdminLayoutComponentBase
|
||||
@inherits LayoutComponentBase
|
||||
@layout DefaultLayout
|
||||
|
||||
<CascadingValue Value=this Name="Admin">
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
using Bootstrap.Admin.Pages.Shared;
|
||||
using Bootstrap.Admin.Pages.Components;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace Bootstrap.Admin.Pages.Components
|
||||
namespace Bootstrap.Admin.Pages.Shared
|
||||
{
|
||||
/// <summary>
|
||||
/// AdminLayout 布局类
|
||||
/// </summary>
|
||||
public class AdminLayoutComponentBase : LayoutComponentBase
|
||||
public partial class AdminLayout
|
||||
{
|
||||
/// <summary>
|
||||
///
|
|
@ -1,4 +1,4 @@
|
|||
@inherits DefaultLayoutComponentBase
|
||||
@inherits LayoutComponentBase
|
||||
|
||||
<CascadingValue Value=this Name="Default">
|
||||
<Header @ref="Header" Icon="@Model.Icon" @bind-DisplayName="DisplayName" @bind-WebTitle="WebTitle"/>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using Bootstrap.Admin.Models;
|
||||
using Bootstrap.Admin.Pages.Components;
|
||||
using Bootstrap.Admin.Pages.Extensions;
|
||||
using Bootstrap.Admin.Pages.Shared;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
|
@ -11,12 +11,12 @@ using System;
|
|||
using System.Net;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Bootstrap.Admin.Pages.Components
|
||||
namespace Bootstrap.Admin.Pages.Shared
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class DefaultLayoutComponentBase : LayoutComponentBase
|
||||
public partial class DefaultLayout
|
||||
{
|
||||
/// <summary>
|
||||
///
|
Loading…
Reference in New Issue