Skip to content

Commit

Permalink
Upgrade Nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Oct 13, 2024
1 parent 90c0223 commit 0d5c8db
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CubeDemoNC/CubeDemoNC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="8.0.10" />
<PackageReference Include="NewLife.Redis.Extensions" Version="6.0.2024.1006" />
<PackageReference Include="NewLife.Stardust.Extensions" Version="3.1.2024.1004" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion NewLife.Cube.Blazor/NewLife.Cube.Blazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</PackageReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="BootstrapBlazor" Version="8.10.1" />
<PackageReference Include="BootstrapBlazor" Version="8.10.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion NewLife.Cube.Swagger/NewLife.Cube.Swagger.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="7.0.20" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.10" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions NewLife.CubeNC/Charts/ECharts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ public Series AddPie<T>(IList<T> list, DataField field, Func<T, NameValue> selec
{
var keyName = field.Category;
keyName ??= _xField as String;
keyName ??= (_xField as DataField).Name;
keyName ??= (_xField as FieldItem).Name;
keyName ??= (_xField as DataField)?.Name;
keyName ??= (_xField as FieldItem)?.Name;
var sr = new Series
{
Name = field.DisplayName ?? field.Name,
Expand All @@ -509,8 +509,8 @@ public Series AddPie<T>(IList<T> list, DataField field, Func<T, NameValue> selec
public Series AddPie<T>(IList<T> list, FieldItem field, Func<T, NameValue> selector = null) where T : IModel
{
var keyName = _xField as String;
keyName ??= (_xField as DataField).Name;
keyName ??= (_xField as FieldItem).Name;
keyName ??= (_xField as DataField)?.Name;
keyName ??= (_xField as FieldItem)?.Name;
keyName ??= field.Table.Master?.Name ?? field.Table.PrimaryKeys.FirstOrDefault()?.Name;
var sr = new Series
{
Expand Down

0 comments on commit 0d5c8db

Please sign in to comment.