Browse Source
Merge pull request #22729 from abpframework/auto-merge/rel-9-2/3675
Merge branch dev with rel-9.2
pull/22759/head
maliming
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
9 additions and
2 deletions
-
framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/Layout/PageHeader.razor.cs
-
framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/Layout/PageLayout.cs
|
|
@ -111,8 +111,7 @@ public partial class PageHeader : ComponentBase, IDisposable |
|
|
|
|
|
|
|
|
public void Dispose() |
|
|
public void Dispose() |
|
|
{ |
|
|
{ |
|
|
PageLayout.ToolbarItems.Clear(); |
|
|
PageLayout.Reset(); |
|
|
PageLayout.BreadcrumbItems.Clear(); |
|
|
|
|
|
ToolbarItemRenders.Clear(); |
|
|
ToolbarItemRenders.Clear(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
@ -41,4 +41,12 @@ public class PageLayout : IScopedDependency, INotifyPropertyChanged |
|
|
{ |
|
|
{ |
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); |
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void Reset() |
|
|
|
|
|
{ |
|
|
|
|
|
Title = string.Empty; |
|
|
|
|
|
MenuItemName = string.Empty; |
|
|
|
|
|
BreadcrumbItems.Clear(); |
|
|
|
|
|
ToolbarItems.Clear(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |