This commit is contained in:
Đăng Nguyễn
2025-12-23 09:52:42 +07:00
parent e4e135e35f
commit a51cfe80c8
12 changed files with 80 additions and 194 deletions

View File

@@ -17,6 +17,7 @@
protected override async Task OnAfterRenderAsync(bool firstRender)
{
await base.OnAfterRenderAsync(firstRender);
if (firstRender)
{
MonitorService.OnDataReceived += OnMonitorDataReceived;
@@ -28,7 +29,7 @@
{
_monitorData = data;
RobotMonitorViewRef?.UpdatePath();
InvokeAsync(StateHasChanged);
StateHasChanged();
}
public async ValueTask DisposeAsync()
@@ -41,3 +42,7 @@