We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 435bed0 commit 6cee4a6Copy full SHA for 6cee4a6
src/views/AdminJoinView.vue
@@ -189,7 +189,7 @@ export default {
189
) {
190
this.access = true;
191
} else {
192
- console.log("forbidden")
+ console.warn("Forbidden")
193
}
194
this.ready = true;
195
src/views/AdminRoomView.vue
@@ -75,17 +75,17 @@ export default {
75
76
77
78
+ console.warn("Forbidden");
79
+ this.ready = true;
80
return;
81
82
try {
83
const xhr = await this.$axios.get('/admin-room');
84
this.url = xhr.data.url;
85
this.password = xhr.data.password;
86
} catch (error) {
- if (!error?.response?.data?.code) {
87
- this.status = '授權伺服器發生嚴重錯誤';
88
- }
+ this.status = '授權伺服器發生嚴重錯誤';
+ console.error(error);
89
} finally {
90
91
0 commit comments