We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad34783 commit a5e0a08Copy full SHA for a5e0a08
src/BootstrapBlazor.Server/Components/Samples/HikVisions.razor.cs
@@ -48,8 +48,11 @@ private async Task OnLogin()
48
49
private async Task OnLogout()
50
{
51
+ _analogChannels.Clear();
52
_loginStatus = true;
53
_logoutStatus = true;
54
+ _startRealPlayStatus = true;
55
+ _stopRealPlayStatus = true;
56
await _hikVision.Logout();
57
}
58
@@ -102,6 +105,7 @@ await SwalService.Show(new SwalOption()
102
105
103
106
private Task OnLoginAsync()
104
107
108
+ _loginStatus = true;
109
_logoutStatus = !_loginStatus;
110
_startRealPlayStatus = _logoutStatus;
111
_stopRealPlayStatus = !_startRealPlayStatus;
0 commit comments