From 91aceaf8f2d68fcccd7e69cc65f08d8ee5829e72 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Thu, 1 May 2025 15:02:45 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E5=A2=9E=E5=8A=A0=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E6=B3=A8=E5=85=A5=E7=A4=BA=E4=BE=8B=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor.Server/Components/Samples/OtpServices.razor | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BootstrapBlazor.Server/Components/Samples/OtpServices.razor b/src/BootstrapBlazor.Server/Components/Samples/OtpServices.razor index 06c27bb5285..47ddbc9300d 100644 --- a/src/BootstrapBlazor.Server/Components/Samples/OtpServices.razor +++ b/src/BootstrapBlazor.Server/Components/Samples/OtpServices.razor @@ -40,6 +40,8 @@

1. 服务注入

+
services.AddBootstrapBlazorTotpService();
+
[Inject]
 [NotNull]
 private ITotpService? TotpService { get; set; }