From 8b1e0ce69734dae5c941fb6f534e1fed07dafbd3 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Wed, 1 Jun 2022 20:41:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=20Navigation=20?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor/Components/Redirect/Redirect.cs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/BootstrapBlazor/Components/Redirect/Redirect.cs b/src/BootstrapBlazor/Components/Redirect/Redirect.cs index 77a9d83eb..3d422ecd5 100644 --- a/src/BootstrapBlazor/Components/Redirect/Redirect.cs +++ b/src/BootstrapBlazor/Components/Redirect/Redirect.cs @@ -16,12 +16,11 @@ public class Redirect : ComponentBase private NavigationManager? Navigation { get; set; } /// - /// + /// 获得/设置 登录地址 默认 Account/Login /// [Parameter] public string Url { get; set; } = "Account/Login"; -#if DEBUG /// /// OnAfterRender 方法 /// @@ -30,13 +29,4 @@ public class Redirect : ComponentBase { Navigation.NavigateTo(Url, true); } -#else - /// - /// OnInitialized 方法 - /// - protected override void OnInitialized() - { - Navigation.NavigateTo(Url, true); - } -#endif } -- Gitee From bfc3eafb5bce58aa1a145622fa4d1908fd49d64f Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Wed, 1 Jun 2022 21:10:56 +0800 Subject: [PATCH 2/2] chore: bump version 6.7.2 --- src/BootstrapBlazor/BootstrapBlazor.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index 5bd8f4c24..f09e57c4c 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - 6.7.1 + 6.7.2 -- Gitee