页面精简

This commit is contained in:
2022-10-31 10:42:17 +08:00
parent bc98924548
commit 52d775dd78
5 changed files with 75 additions and 84 deletions

View File

@@ -53,6 +53,12 @@ class TimFriendService extends GetxService {
),
];
@override
void onInit() async {
super.onInit();
await fetchList();
}
Future<void> fetchList() async {
var result = await friendshipManager.getFriendList();
if (result.code == 0) {