<fix>修复部分已知问题

This commit is contained in:
skmcj committed 2023-09-05 17:56:50 +08:00
1 parent f1ea19da90
commit f28aff8e09
2 files changed
+1 -3

No files matched your search

-1
View File
@@ -39,7 +39,6 @@ export const getRoomInfoApi = function (roomNumber: string) {
let roomUserCount = dict['state']['roomStore']['roomInfo']['room']['user_count_str'];
let uniqueId = dict['state']['userStore']['odin']['user_unique_id'];
let avatar = dict['state']['roomStore']['roomInfo']['anchor']['avatar_thumb']['url_list'][0];
console.log(dict);
return {
roomId,
roomTitle,
+1 -2
View File
@@ -126,7 +126,6 @@ function gotoConnect() {
// console.log(res);
roomAvatar.value = res.avatar;
roomTitle.value = res.roomTitle;
console.log('room', res);
if (!res.roomId || !res.uniqueId) {
// 房间ID和uniqueID获取失败
connectCode.value = 400;
@@ -135,7 +134,7 @@ function gotoConnect() {
}
})
.catch((err: any) => {
console.log(err);
console.error(err);
});
}, 2000);
}