feat:跟新livekit房间创建

This commit is contained in:
leilei
2025-09-26 17:58:42 +08:00
parent 121fc5ea19
commit af994f88de
15 changed files with 1052 additions and 41 deletions

View File

@@ -118,15 +118,16 @@ function getCanvasSize(container) {
onMounted(async () => {
try {
await getInfo("self");
showLogin.value = false;
} catch (err) {
if (err.code === 401) {
const res = await getInfo("self");
console.log(res, "用户信息校验")
if (res.meta.code === 401) {
showLogin.value = true;
} else {
showLogin.value = false;
console.warn("⚠️ 用户信息校验失败:", err);
showLogin.value = false;
}
} catch (err) {
console.warn("⚠️ 用户信息校验失败:", err);
}
});