更新usheet依赖项

This commit is contained in:
Diego
2025-03-31 15:26:53 +08:00
parent d057974c3e
commit 56eca454b1
2 changed files with 6 additions and 10 deletions

View File

@@ -28,19 +28,15 @@ public partial class USheet
private async Task OnPushExcelData()
{
_ = Task.Run(async () =>
await Task.Delay(100);
await InvokeAsync(async () =>
{
await Task.Delay(500);
await InvokeAsync(async () =>
await _sheetExcel.PushDataAsync(new UniverSheetData()
{
await _sheetExcel.PushDataAsync(new UniverSheetData()
{
CommandName = "SetWorkbook",
Data = Model.ToJsonNetString()
});
CommandName = "SetWorkbook",
WorkbookData = Model.ToJsonNetString(),
});
});
await Task.Delay(10);
}
[Inject]
private IStringLocalizer<ThingsGateway.Razor._Imports> RazorLocalizer { get; set; }

View File

@@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\ThingsGateway.Gateway.Application\ThingsGateway.Gateway.Application.csproj" />
<PackageReference Include="BootstrapBlazor.UniverSheet" Version="9.0.2" />
<PackageReference Include="BootstrapBlazor.UniverSheet" Version="9.0.3" />
<PackageReference Include="BootstrapBlazor.WinBox" Version="9.0.7" />
<PackageReference Include="BootstrapBlazor.CodeEditor" Version="9.0.1" />
<ProjectReference Include="..\..\Admin\ThingsGateway.Admin.Razor\ThingsGateway.Admin.Razor.csproj" />