mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-13 03:16:17 +02:00
fix abModel multi request and state didn't refresh bug
This commit is contained in:
parent
672d5f31d0
commit
8d23c11312
11 changed files with 111 additions and 230 deletions
|
@ -24,8 +24,9 @@ class AbModel {
|
|||
FFI? get _ffi => parent.target;
|
||||
|
||||
Future<dynamic> pullAb() async {
|
||||
if (_ffi!.userModel.userName.isEmpty) return;
|
||||
abLoading.value = true;
|
||||
// request
|
||||
abError.value = "";
|
||||
final api = "${await bind.mainGetApiServer()}/api/ab/get";
|
||||
try {
|
||||
final resp =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue