页面精简
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user