This commit is contained in:
2025-11-25 05:36:02 +08:00
parent 8e036cc171
commit b10e4b4336
65 changed files with 2672 additions and 2270 deletions
+3 -9
View File
@@ -48,19 +48,13 @@ const actions = {
commit
}) {
try {
const {
data
} = await IMSDK.asyncApi(
IMSDK.IMMethods.GetSelfUserInfo,
uuidv4(),
);
const res = await businessGetUserInfo(data.userID);
//console.log(res.data);
const result = await IMSDK.asyncApi(IMSDK.IMMethods.GetSelfUserInfo,uuidv4(),);
const res = await businessGetUserInfo(result.data.userID);
const businessData = res.data[0] ?? {};
filterEmptyValue(businessData);
commit("SET_SELF_INFO", {
...data,
...result.data,
...businessData,
});
} catch (e) {