File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/BootstrapBlazor/Components/BaseComponents Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22@namespace BootstrapBlazor.Components
33
44<CascadingValue Value =" this" IsFixed =" true" >
5- <ErrorLogger EnableErrorLogger =" _enableErrorLoggerValue " ShowToast =" _showToast " ToastTitle =" @ToastTitle"
5+ <ErrorLogger EnableErrorLogger =" EnableErrorLoggerValue " ShowToast =" ShowToastValue " ToastTitle =" @ToastTitle"
66 OnErrorHandleAsync =" OnErrorHandleAsync" >
77 @ChildContent
88
Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ public partial class BootstrapBlazorRoot
6565 [ Parameter ]
6666 public bool ? EnableErrorLogger { get ; set ; }
6767
68- private bool _enableErrorLoggerValue => EnableErrorLogger ?? Options . CurrentValue . EnableErrorLogger ;
68+ private bool EnableErrorLoggerValue => EnableErrorLogger ?? Options . CurrentValue . EnableErrorLogger ;
6969
70- private bool _showToast => ShowToast ?? Options . CurrentValue . ShowErrorLoggerToast ;
70+ private bool ShowToastValue => ShowToast ?? Options . CurrentValue . ShowErrorLoggerToast ;
7171
7272 /// <summary>
7373 /// SetParametersAsync 方法
You can’t perform that action at this time.
0 commit comments