房间id生成修改
This commit is contained in:
@@ -92,3 +92,12 @@ export function toggleButtonState(button, active) {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 生成随机会议ID
|
||||
* @returns {string} 随机会议ID
|
||||
*/
|
||||
export function randomMeetingId() {
|
||||
const part = () => Math.floor(100 + Math.random() * 900);
|
||||
return `${part()}-${part()}-${part()}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user