avoid race condition issue.

This commit is contained in:
Ben
2024-07-03 17:59:40 +08:00
parent 599071b68b
commit acbe000f97

View File

@ -242,11 +242,11 @@
{
await base.OnAfterRenderAsync(firstRender);
await LoadSettings();
if (_allowRichText)
{
if (firstRender)
{
await LoadSettings();
await interop.CreateEditor(
_editorElement,
_toolBar,