fix: 新增更多判空位置

This commit is contained in:
orz12
2024-02-26 10:14:13 +08:00
parent 11988a4f8e
commit 390046116b
10 changed files with 27 additions and 19 deletions

View File

@@ -15,6 +15,8 @@ class Data {
return;
}
var res = await UserHttp.historyStatus();
localCache.put(LocalCacheKey.historyPause, res.data['data']);
if (res['status']) {
localCache.put(LocalCacheKey.historyPause, res['data']);
}
}
}