From 77eecf224382ba41d2252bc0affa1f4dfa22d435 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sun, 1 Jun 2025 14:26:40 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=87=8D=E6=9E=84=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= 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 c94406b9588..17f0c93fa16 100644 --- a/src/BootstrapBlazor/Components/BaseComponents/IdComponentBase.cs +++ b/src/BootstrapBlazor/Components/BaseComponents/IdComponentBase.cs @@ -32,9 +32,9 @@ public abstract class IdComponentBase : BootstrapComponentBase /// /// /// - protected override void OnParametersSet() + protected override void OnInitialized() { - base.OnParametersSet(); + base.OnInitialized(); Id ??= ComponentIdGenerator.Generate(this); }