diff --git a/src/views/AdminJoinView.vue b/src/views/AdminJoinView.vue index f298f07..4a76068 100644 --- a/src/views/AdminJoinView.vue +++ b/src/views/AdminJoinView.vue @@ -189,7 +189,7 @@ export default { ) { this.access = true; } else { - console.log("forbidden") + console.warn("Forbidden") } this.ready = true; } diff --git a/src/views/AdminRoomView.vue b/src/views/AdminRoomView.vue index 8f90d6d..a0b1f49 100644 --- a/src/views/AdminRoomView.vue +++ b/src/views/AdminRoomView.vue @@ -75,7 +75,8 @@ export default { ) { this.access = true; } else { - console.log("forbidden") + console.warn("Forbidden"); + this.ready = true; return; } try { @@ -83,9 +84,8 @@ export default { this.url = xhr.data.url; this.password = xhr.data.password; } catch (error) { - if (!error?.response?.data?.code) { - this.status = '授權伺服器發生嚴重錯誤'; - } + this.status = '授權伺服器發生嚴重錯誤'; + console.error(error); } finally { this.ready = true; }