mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-16 01:41:14 +08:00
16 lines
538 B
C#
16 lines
538 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
@if (_hasAdd)
|
|
{
|
|
<Dialog @ref="_dialog" Config="@BuildDialogOptions()"
|
|
Visible="@Visible" Style="@Style">
|
|
<CascadingValue Value=@(".ant-modal-wrap") Name="PopupContainerSelector">
|
|
<CascadingValue Value="true" Name="InModal">
|
|
<CascadingValue Value="@_dialog.IsShow()" Name="ModalCompleteShow">
|
|
@ChildContent
|
|
</CascadingValue>
|
|
</CascadingValue>
|
|
</CascadingValue>
|
|
</Dialog>
|
|
}
|