This commit is contained in:
2025-11-23 07:58:47 +08:00
parent 0783e46b4b
commit 8e036cc171
4 changed files with 22 additions and 29 deletions
+3 -6
View File
@@ -135,11 +135,8 @@
}
this.isLoading = true
try {
const {
total,
users
} = await businessSearchUserInfo(this.sourceID);
if (total > 0) {
const res = await businessSearchUserInfo(this.sourceID);
if (res.total > 0) {
const {
data
} = await IMSDK.asyncApi(
@@ -150,7 +147,7 @@
const imData = data[0]?.friendInfo ?? data[0]?.publicInfo ?? {};
info = {
...imData,
...users[0],
...res.data[0],
};
console.log(info)
}