diff --git a/AntDesign.sln b/AntDesign.sln index 5e86e2375..e0d72a812 100644 --- a/AntDesign.sln +++ b/AntDesign.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.1.32319.34 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29519.181 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0CB79B3D-E483-4051-8026-6A80FCA0C6A6}" ProjectSection(SolutionItems) = preProject diff --git a/scripts/gh-pages/index.html b/scripts/gh-pages/index.html index 898509422..1668f4e20 100644 --- a/scripts/gh-pages/index.html +++ b/scripts/gh-pages/index.html @@ -8,8 +8,8 @@ Ant Design of Blazor - - + + @@ -175,7 +175,7 @@ }
- logo + logo
@@ -187,11 +187,7 @@
- - Ant Design of Blazor -
-
@@ -209,8 +205,7 @@ 提示
建议中国内地用户访问国内镜像站点,加载更快!
- -
+
确 定
@@ -222,7 +217,7 @@ - - - - + + + + - - + + - - - + + + \ No newline at end of file diff --git a/site/AntDesign.Docs/Demos/Components/Input/demo/WithTooltip.razor b/site/AntDesign.Docs/Demos/Components/Input/demo/WithTooltip.razor index 576543684..d553a9c11 100644 --- a/site/AntDesign.Docs/Demos/Components/Input/demo/WithTooltip.razor +++ b/site/AntDesign.Docs/Demos/Components/Input/demo/WithTooltip.razor @@ -11,9 +11,9 @@ private string ConvertValue() { - if (string.IsNullOrWhiteSpace(_value) || !decimal.TryParse(_value,out var decimalValue)) + if (string.IsNullOrWhiteSpace(_value)) return string.Empty; else - return decimalValue.ToString("#,0.##############################"); + return Convert.ToDecimal(_value).ToString("#,0.##############################"); } } \ No newline at end of file diff --git a/site/AntDesign.Docs/Shared/ContributorsList.razor.cs b/site/AntDesign.Docs/Shared/ContributorsList.razor.cs index c7cf8df29..19fbd2db5 100644 --- a/site/AntDesign.Docs/Shared/ContributorsList.razor.cs +++ b/site/AntDesign.Docs/Shared/ContributorsList.razor.cs @@ -7,14 +7,11 @@ using System.Threading.Tasks; using AntDesign.Docs.Localization; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Routing; -using Microsoft.Extensions.Logging; namespace AntDesign.Docs.Shared { public partial class ContributorsList : ComponentBase, IDisposable { - [Inject] private ILogger Logger { get; set; } - [Parameter] public List FilePaths { @@ -63,14 +60,7 @@ namespace AntDesign.Docs.Shared if (_waitForRefresh) { _waitForRefresh = false; - try - { - await GetContributors(); - } - catch (Exception ex) - { - Logger.LogError(ex, "Contributors load faild."); - } + await GetContributors(); } }