mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-11-30 02:58:37 +08:00
!1902 fix(#I4BYML): can't close the ModalDialog use @ref.Close method when write code in razor
* fix: 修复 razor 文件中写好 Modal 二次关闭不响应问题
This commit is contained in:
parent
bda30dd6c8
commit
dcdf029473
@ -176,6 +176,10 @@ namespace BootstrapBlazor.Components
|
|||||||
{
|
{
|
||||||
await dialog.Close();
|
await dialog.Close();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
await CloseOrPopDialog();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user