From 959568f9ae2b50b7d8295c7f73af41f3333b9ead Mon Sep 17 00:00:00 2001 From: Argo-Asicotech Date: Tue, 25 Oct 2022 18:03:42 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20FontAwesome=20=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BootstrapBlazor.FontAwesome.csproj | 4 ++-- .../Components/FAIconList.razor.cs | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/Extensions/Components/BootstrapBlazor.FontAwesome/BootstrapBlazor.FontAwesome.csproj b/src/Extensions/Components/BootstrapBlazor.FontAwesome/BootstrapBlazor.FontAwesome.csproj index c26c44f91..51001c7af 100644 --- a/src/Extensions/Components/BootstrapBlazor.FontAwesome/BootstrapBlazor.FontAwesome.csproj +++ b/src/Extensions/Components/BootstrapBlazor.FontAwesome/BootstrapBlazor.FontAwesome.csproj @@ -3,7 +3,7 @@ - 6.3.0 + 6.3.1 @@ -22,7 +22,7 @@ - + diff --git a/src/Extensions/Components/BootstrapBlazor.FontAwesome/Components/FAIconList.razor.cs b/src/Extensions/Components/BootstrapBlazor.FontAwesome/Components/FAIconList.razor.cs index 12ecdce6e..1a06ff43e 100644 --- a/src/Extensions/Components/BootstrapBlazor.FontAwesome/Components/FAIconList.razor.cs +++ b/src/Extensions/Components/BootstrapBlazor.FontAwesome/Components/FAIconList.razor.cs @@ -85,13 +85,7 @@ public partial class FAIconList /// /// /// - protected override async Task ModuleInitAsync() - { - if (Module != null) - { - await Module.InvokeVoidAsync($"{ModuleName}.init", Id, nameof(UpdateIcon), nameof(ShowDialog), IsCopy); - } - } + protected override Task ModuleInitAsync() => InvokeInitAsync(Id, nameof(UpdateIcon), nameof(ShowDialog), IsCopy); /// /// 更新当前选择图标值方法 -- Gitee