feat:更新协同合作

This commit is contained in:
leilei
2025-09-30 17:58:34 +08:00
parent af994f88de
commit 3ac556d7a5
12 changed files with 2178 additions and 621 deletions

View File

@@ -82,9 +82,12 @@ function handleLogin() {
.then(async (res) => {
const userInfo = JSON.parse(localStorage.getItem('userData'))
router.push({
path: '/whiteboard',
query: { room_uid: 'nxst-ok4j' }
path: '/coordinate',
})
// router.push({
// path: '/whiteboard',
// query: { room_uid: 'nxst-ok4j' }
// })
})
.catch((e) => {
@@ -117,10 +120,13 @@ onMounted(async () => {
if (res.meta.code === 401) {
showLogin.value = true;
} else {
router.push({
path: '/whiteboard',
query: { room_uid: 'nxst-ok4j' }
})
// router.push({
// path: '/whiteboard',
// query: { room_uid: 'nxst-ok4j' }
// })
router.push({
path: '/coordinate',
})
}
loginView.value = false
} catch (err) {