20
This commit is contained in:
@@ -53,9 +53,6 @@ const mutations = {
|
||||
|
||||
const actions = {
|
||||
async getFriendList({commit }) {
|
||||
//#ifndef APP
|
||||
return [];
|
||||
//#endif
|
||||
let offset = 0;
|
||||
let friendInfoList = [];
|
||||
let initialFetch = true;
|
||||
@@ -73,14 +70,12 @@ const actions = {
|
||||
initialFetch = false;
|
||||
} catch (error) {
|
||||
console.error("getFriendListPage error",error);
|
||||
break;
|
||||
}
|
||||
}
|
||||
commit("SET_FRIEND_LIST", friendInfoList);
|
||||
},
|
||||
async getGrouplist({commit}) {
|
||||
//#ifndef APP
|
||||
return [];
|
||||
//#endif
|
||||
let offset = 0;
|
||||
let groupList = [];
|
||||
while (true) {
|
||||
@@ -101,6 +96,7 @@ const actions = {
|
||||
console.error("getGrouplist error");
|
||||
}
|
||||
}
|
||||
//console.log(groupList);
|
||||
commit("SET_GROUP_LIST", groupList);
|
||||
},
|
||||
getBlacklist({commit}) {
|
||||
|
||||
Reference in New Issue
Block a user