From f28aff8e094372da970fc7b311fa3b945be4d401 Mon Sep 17 00:00:00 2001 From: skmcj <2604597248@qq.com> Date: Tue, 5 Sep 2023 17:56:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=B7=B2=E7=9F=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/commonApi.ts | 1 - src/components/Left.vue | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/api/commonApi.ts b/src/api/commonApi.ts index 55c1f10..39fb6c9 100644 --- a/src/api/commonApi.ts +++ b/src/api/commonApi.ts @@ -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, diff --git a/src/components/Left.vue b/src/components/Left.vue index 4d05ba9..21b9bb8 100644 --- a/src/components/Left.vue +++ b/src/components/Left.vue @@ -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); }