From b2b8ccac4c537d2d243d4835ccf604e11c77cdcc Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 10 Jan 2025 20:27:31 +0800 Subject: [PATCH 1/5] =?UTF-8?q?style:=20=E7=A7=BB=E9=99=A4=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/Layout/MainLayout.razor.css | 1 - 1 file changed, 1 deletion(-) diff --git a/src/BootstrapBlazor.Server/Components/Layout/MainLayout.razor.css b/src/BootstrapBlazor.Server/Components/Layout/MainLayout.razor.css index c7be7711ea3..88763b3961d 100644 --- a/src/BootstrapBlazor.Server/Components/Layout/MainLayout.razor.css +++ b/src/BootstrapBlazor.Server/Components/Layout/MainLayout.razor.css @@ -98,7 +98,6 @@ } .main { - height: 100%; width: calc(100% - var(--bb-sidebar-width)); } From 81cd157271727e3d4273feb5dbc8b2ad9dd1ecab Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 10 Jan 2025 20:45:05 +0800 Subject: [PATCH 2/5] =?UTF-8?q?doc:=20=E9=87=8D=E6=9E=84=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/BaseComponents/IdComponentBase.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BootstrapBlazor/Components/BaseComponents/IdComponentBase.cs b/src/BootstrapBlazor/Components/BaseComponents/IdComponentBase.cs index e09a2f42236..aade7aa6333 100644 --- a/src/BootstrapBlazor/Components/BaseComponents/IdComponentBase.cs +++ b/src/BootstrapBlazor/Components/BaseComponents/IdComponentBase.cs @@ -15,10 +15,10 @@ public abstract class IdComponentBase : BootstrapComponentBase /// [Parameter] [NotNull] - public virtual string? Id { get; set; } + public string? Id { get; set; } /// - /// 获得 IComponentIdGenerator 实例 + /// 获得 实例 /// [Inject] [NotNull] From 621a090fbf724de1b66f59978d7bde5d6ec38e7d Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 11 Jan 2025 10:26:00 +0800 Subject: [PATCH 3/5] =?UTF-8?q?refactor:=20=E9=87=8D=E6=9E=84=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/Layout/ComponentLayout.razor.cs | 2 +- .../Components/Layout/ComponentLayout.razor.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BootstrapBlazor.Server/Components/Layout/ComponentLayout.razor.cs b/src/BootstrapBlazor.Server/Components/Layout/ComponentLayout.razor.cs index c2f37a5b5a6..063cacd32d4 100644 --- a/src/BootstrapBlazor.Server/Components/Layout/ComponentLayout.razor.cs +++ b/src/BootstrapBlazor.Server/Components/Layout/ComponentLayout.razor.cs @@ -108,7 +108,7 @@ protected override async Task OnAfterRenderAsync(bool firstRender) } if (Module != null) { - await Module.InvokeVoidAsync("init"); + await Module.InvokeVoidAsync("scrollToAnchor"); } } diff --git a/src/BootstrapBlazor.Server/Components/Layout/ComponentLayout.razor.js b/src/BootstrapBlazor.Server/Components/Layout/ComponentLayout.razor.js index 954a3284017..30e32516adf 100644 --- a/src/BootstrapBlazor.Server/Components/Layout/ComponentLayout.razor.js +++ b/src/BootstrapBlazor.Server/Components/Layout/ComponentLayout.razor.js @@ -1,4 +1,4 @@ -export function init() { +export function scrollToAnchor() { const hash = decodeURI(location.hash) if (hash) { const anchor = hash.split('-')[0] From 4e7b60a25479807cd8557e6bfb965dfb5afaa3b3 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 11 Jan 2025 10:29:36 +0800 Subject: [PATCH 4/5] chore: bump version 9.2.7-beta05 Co-Authored-By: Zeus <166673003+A5196060@users.noreply.github.com> Co-Authored-By: Alex chow --- 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 0c05999a6fb..c0d77f77acf 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - 9.2.7-beta04 + 9.2.7-beta05 From 16d90694e197ccd8274f831f729c7eea1d1e9a1e Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 11 Jan 2025 10:30:23 +0800 Subject: [PATCH 5/5] chore: bump version 9.2.7-beta06 --- src/BootstrapBlazor/BootstrapBlazor.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index 0c05999a6fb..aa425314a0e 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - + - 9.2.7-beta04 + 9.2.7-beta06