Skip to content

Commit 832a151

Browse files
authored
chore: update AntDesign package to version 1.4.0 and improve message handling in SettingDrawer (#122)
1 parent 9bc9614 commit 832a151

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/layout/src/AntDesign.ProLayout.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<PackageReference Include="AntDesign" Version="1.3.1" />
29+
<PackageReference Include="AntDesign" Version="1.4.0" />
3030
</ItemGroup>
3131

3232
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' And '$(SolutionDir)'==''">

src/layout/src/SettingDrawer/SettingDrawer.razor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private async Task UpdateColor(string color)
116116

117117
private async Task UpdateStyle()
118118
{
119-
_ = Message.Loading(new MessageConfig
119+
Message.Loading(new MessageConfig
120120
{
121121
Content = "Loading theme",
122122
Duration = 1
@@ -151,7 +151,7 @@ private async Task CopySetting(MouseEventArgs args)
151151
{
152152
var json = JsonSerializer.Serialize(SettingState.Value);
153153
await JsInvokeAsync<object>(JSInteropConstants.Copy, json);
154-
await Message.Success("copy success, please replace defaultSettings in wwwroot/appsettings.json");
154+
Message.Success("copy success, please replace defaultSettings in wwwroot/appsettings.json");
155155
}
156156
}
157157
}

0 commit comments

Comments
 (0)