mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-11-29 18:49:08 +08:00
doc(ErrorLogger): update sample code (#4568)
* refactor: 移除 Title 组件 * refactor: 增加 ErrorLogger 包裹组件
This commit is contained in:
parent
f384e6c818
commit
6dfcef5ef2
@ -58,8 +58,10 @@
|
||||
}</Pre>
|
||||
|
||||
<DemoBlock Title="@Localizer["Block1Title"]" Introduction="@Localizer["Block1Intro"]" Name="Normal">
|
||||
<p>@((MarkupString)Localizer["ExceptionTestIntroduce"].Value)</p>
|
||||
<Button Icon="fa-solid fa-font-awesome" Text="@Localizer["ButtonText"]" OnClick="OnClick" />
|
||||
<section ignore>@((MarkupString)Localizer["ExceptionTestIntroduce"].Value)</section>
|
||||
<ErrorLogger>
|
||||
<Button Icon="fa-solid fa-font-awesome" Text="@Localizer["ButtonText"]" OnClick="OnClick" />
|
||||
</ErrorLogger>
|
||||
</DemoBlock>
|
||||
|
||||
<DemoBlock Title="@Localizer["Block2Title"]" Introduction="@Localizer["Block2Intro"]" Name="Swal">
|
||||
|
@ -3,8 +3,6 @@
|
||||
|
||||
@RenderBody()
|
||||
|
||||
<Title></Title>
|
||||
|
||||
<Message @ref="MessageContainer"></Message>
|
||||
<ToastContainer @ref="ToastContainer"></ToastContainer>
|
||||
<DrawerContainer></DrawerContainer>
|
||||
|
Loading…
Reference in New Issue
Block a user