From d592279d8d204c40cac251f7e7e3f89db5a02253 Mon Sep 17 00:00:00 2001 From: "hualin.zhu" Date: Sat, 27 May 2023 09:14:24 +0800 Subject: [PATCH] update nuget library --- src/Application/Application.csproj | 6 +++--- src/Blazor.Server.UI/Blazor.Server.UI.csproj | 6 +++--- .../Pages/Products/_ProductFormDialog.razor | 7 ++++--- src/Infrastructure/Infrastructure.csproj | 16 ++++++++-------- .../Application.IntegrationTests.csproj | 4 ++-- .../Application.UnitTests.csproj | 4 ++-- tests/Domain.UnitTests/Domain.UnitTests.csproj | 4 ++-- 7 files changed, 24 insertions(+), 23 deletions(-) diff --git a/src/Application/Application.csproj b/src/Application/Application.csproj index 2e08e3728..891c68bca 100644 --- a/src/Application/Application.csproj +++ b/src/Application/Application.csproj @@ -17,8 +17,8 @@ - - + + @@ -27,7 +27,7 @@ - + diff --git a/src/Blazor.Server.UI/Blazor.Server.UI.csproj b/src/Blazor.Server.UI/Blazor.Server.UI.csproj index daffa5d26..487fd7141 100644 --- a/src/Blazor.Server.UI/Blazor.Server.UI.csproj +++ b/src/Blazor.Server.UI/Blazor.Server.UI.csproj @@ -11,11 +11,11 @@ - + - - + + all diff --git a/src/Blazor.Server.UI/Pages/Products/_ProductFormDialog.razor b/src/Blazor.Server.UI/Pages/Products/_ProductFormDialog.razor index 6b129a369..06af09bae 100644 --- a/src/Blazor.Server.UI/Pages/Products/_ProductFormDialog.razor +++ b/src/Blazor.Server.UI/Pages/Products/_ProductFormDialog.razor @@ -98,7 +98,7 @@ @ConstantString.Cancel - @ConstantString.SaveAndNew + @ConstantString.SaveAndNew @ConstantString.Save @@ -106,6 +106,7 @@ @code { MudForm? _form; private bool _saving; + private bool _saveingnew; [CascadingParameter] MudDialogInstance MudDialog { get; set; } = default!; @@ -230,7 +231,7 @@ { try { - _saving = true; + _saveingnew = true; await _form!.Validate().ConfigureAwait(false); if (!_form!.IsValid) return; @@ -248,7 +249,7 @@ } finally { - _saving = false; + _saveingnew = false; } } diff --git a/src/Infrastructure/Infrastructure.csproj b/src/Infrastructure/Infrastructure.csproj index df82d1dbd..9855168c4 100644 --- a/src/Infrastructure/Infrastructure.csproj +++ b/src/Infrastructure/Infrastructure.csproj @@ -8,7 +8,7 @@ - + @@ -27,21 +27,21 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - + + + + + - + - + diff --git a/tests/Application.IntegrationTests/Application.IntegrationTests.csproj b/tests/Application.IntegrationTests/Application.IntegrationTests.csproj index 469f8d273..4a47cf150 100644 --- a/tests/Application.IntegrationTests/Application.IntegrationTests.csproj +++ b/tests/Application.IntegrationTests/Application.IntegrationTests.csproj @@ -19,13 +19,13 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/tests/Application.UnitTests/Application.UnitTests.csproj b/tests/Application.UnitTests/Application.UnitTests.csproj index 472e4b947..1c49d353f 100644 --- a/tests/Application.UnitTests/Application.UnitTests.csproj +++ b/tests/Application.UnitTests/Application.UnitTests.csproj @@ -9,13 +9,13 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/tests/Domain.UnitTests/Domain.UnitTests.csproj b/tests/Domain.UnitTests/Domain.UnitTests.csproj index c93293d96..eaca991c2 100644 --- a/tests/Domain.UnitTests/Domain.UnitTests.csproj +++ b/tests/Domain.UnitTests/Domain.UnitTests.csproj @@ -10,13 +10,13 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - +