From 70331dd25b2d31e0bb166e829aa30d2fb8b79773 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Thu, 20 Mar 2025 10:49:36 +0800 Subject: [PATCH 1/4] =?UTF-8?q?refactor:=20=E5=A2=9E=E5=8A=A0=E5=85=B3?= =?UTF-8?q?=E7=AA=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/DateTimeRange/DateTimeRange.razor | 6 ++++-- .../Components/DateTimeRange/DateTimeRange.razor.cs | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor b/src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor index 6446d8b82c5..1e9ac37d287 100644 --- a/src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor +++ b/src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor @@ -37,13 +37,15 @@ { } diff --git a/src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor.cs b/src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor.cs index f8ebec6eca0..4e97a52d68e 100644 --- a/src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor.cs +++ b/src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor.cs @@ -442,6 +442,7 @@ private async Task ClickConfirmButton() { EditContext.NotifyFieldChanged(FieldIdentifier.Value); } + await InvokeVoidAsync("hide", Id); } /// From d923f7b6082abd8eab1371c14f71e4c7031d5b58 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Thu, 20 Mar 2025 10:56:26 +0800 Subject: [PATCH 2/4] =?UTF-8?q?refactor:=20=E7=B2=BE=E7=AE=80=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/DateTimePicker/DateTimePicker.razor | 2 +- .../Components/DateTimeRange/DateTimeRange.razor | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BootstrapBlazor/Components/DateTimePicker/DateTimePicker.razor b/src/BootstrapBlazor/Components/DateTimePicker/DateTimePicker.razor index 718b97f3f37..8391db6a7a2 100644 --- a/src/BootstrapBlazor/Components/DateTimePicker/DateTimePicker.razor +++ b/src/BootstrapBlazor/Components/DateTimePicker/DateTimePicker.razor @@ -7,7 +7,7 @@ { } -
+
@if (ShowIcon) { diff --git a/src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor b/src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor index 1e9ac37d287..e418f132eb3 100644 --- a/src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor +++ b/src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor @@ -6,7 +6,7 @@ { } -
+