feat: accpet/disconnect

Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
Kingtous
2022-08-17 21:46:56 +08:00
parent dcab45d8ab
commit a580b98472
2 changed files with 42 additions and 28 deletions

View File

@@ -97,9 +97,8 @@ class ServerModel with ChangeNotifier {
}
final res = await bind.mainCheckClientsLength(length: _clients.length);
if (res != null) {
// for test
// debugPrint("clients not match!");
// updateClientState(res);
debugPrint("clients not match!");
updateClientState(res);
}
updatePasswordModel();