mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-05 05:27:37 +08:00
d2e9c4b247
* feat(module: config-provider): support RTL * add rtl for each component * fix rtl for pagination * add rtl for overlay
31 lines
722 B
C#
31 lines
722 B
C#
<ConfigProvider>
|
|
<ConventionRouter AppAssembly="@typeof(MainLayout).Assembly">
|
|
<Found Context="routeData">
|
|
<RouteView RouteData="routeData" DefaultLayout="@typeof(MainLayout)" />
|
|
</Found>
|
|
<NotFound>
|
|
<LayoutView Layout="@typeof(MainLayout)">
|
|
@if (Result != null)
|
|
{
|
|
@Result
|
|
}
|
|
</LayoutView>
|
|
</NotFound>
|
|
</ConventionRouter>
|
|
</ConfigProvider>
|
|
|
|
<AntContainer />
|
|
|
|
@code{
|
|
|
|
RenderFragment Result;
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
await base.OnInitializedAsync();
|
|
await Task.Delay(2000);
|
|
|
|
Result = @<Result Status="404"/>;
|
|
}
|
|
|
|
} |