From 124f8f22d010a7407ce5dac916a6d28e47995fbc Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Tue, 4 Feb 2025 11:17:50 +0800 Subject: [PATCH 1/3] =?UTF-8?q?doc:=20=E6=9B=B4=E6=96=B0=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/Samples/SmilesDrawers.razor.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BootstrapBlazor.Server/Components/Samples/SmilesDrawers.razor.cs b/src/BootstrapBlazor.Server/Components/Samples/SmilesDrawers.razor.cs index d06b56e86f2..fc7cb91f725 100644 --- a/src/BootstrapBlazor.Server/Components/Samples/SmilesDrawers.razor.cs +++ b/src/BootstrapBlazor.Server/Components/Samples/SmilesDrawers.razor.cs @@ -14,6 +14,7 @@ public partial class SmilesDrawers private void OnClickUpdateSize() { - _options = new SmilesDrawerOptions { Theme = "light", Width = 200, Height = 200 }; + _options.Width = 200; + _options.Height = 200; } } From df2428214ba9faa136c422f91babdc2d868aeed1 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Tue, 4 Feb 2025 11:18:00 +0800 Subject: [PATCH 2/3] =?UTF-8?q?doc:=20=E6=9B=B4=E6=96=B0=20IsNew=20?= =?UTF-8?q?=E6=A0=87=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Extensions/MenusLocalizerExtensions.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/BootstrapBlazor.Server/Extensions/MenusLocalizerExtensions.cs b/src/BootstrapBlazor.Server/Extensions/MenusLocalizerExtensions.cs index 130e88b5ca5..6e1e1e7150b 100644 --- a/src/BootstrapBlazor.Server/Extensions/MenusLocalizerExtensions.cs +++ b/src/BootstrapBlazor.Server/Extensions/MenusLocalizerExtensions.cs @@ -509,7 +509,6 @@ void AddData(DemoMenuItem item) }, new() { - IsNew = true, Text = Localizer["Affix"], Url = "affix" }, @@ -705,7 +704,6 @@ void AddData(DemoMenuItem item) }, new() { - IsNew = true, Text = Localizer["RDKit"], Url = "rdkit" }, @@ -721,7 +719,6 @@ void AddData(DemoMenuItem item) }, new() { - IsNew = true, Text = Localizer["SmilesDrawer"], Url = "smiles-drawer" }, @@ -767,6 +764,7 @@ void AddData(DemoMenuItem item) }, new() { + IsNew = true, Text = Localizer["Typed"], Url = "typed" }, @@ -782,7 +780,6 @@ void AddData(DemoMenuItem item) }, new() { - IsNew = true, Text = Localizer["Watermark"], Url = "watermark" } @@ -1576,7 +1573,6 @@ void AddIcons(DemoMenuItem item) }, new() { - IsNew = true, Text = Localizer["OctIcon"], Url = "oct-icon" } From 0f9b46116b2957897eb2cda597bbcdee758d21d4 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Tue, 4 Feb 2025 11:18:07 +0800 Subject: [PATCH 3/3] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj index fa6cdc24a97..40bece1f1e9 100644 --- a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj +++ b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj @@ -54,7 +54,7 @@ - +