feat: 房间创建者管理权限——锁定房间、踢人、结束投票

This commit is contained in:
2026-02-24 21:01:24 +08:00
parent fc0a2a018b
commit 07ffe42176
11 changed files with 507 additions and 9 deletions
+3
View File
@@ -71,6 +71,9 @@ export function useRoomPolling(roomId: string) {
likeCounts: data?.likeCounts ?? {},
swipeCounts: data?.swipeCounts ?? {},
restaurants: data?.restaurants ?? [],
creatorId: data?.creatorId ?? "",
locked: data?.locked ?? false,
users: data?.users ?? [],
notFound,
isLoading,
error,