!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:
Argo 2021-09-26 10:31:13 +00:00
parent bda30dd6c8
commit dcdf029473

View File

@ -176,6 +176,10 @@ namespace BootstrapBlazor.Components
{ {
await dialog.Close(); await dialog.Close();
} }
else
{
await CloseOrPopDialog();
}
} }
/// <summary> /// <summary>