fix: 解决重复加入房间的问题

master
xjs 2025-04-09 11:33:15 +08:00
parent 87629309dd
commit 94b3976984
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ function Antechamber() {
const [searchParams] = useSearchParams();
const userId = searchParams.get('userId') || '0'
const username = userId;
const roomId = userId;
const roomId = `${userId}-${new Date().getTime()}`;
const getToken = async () => {