d60a505226133b9b89919080ef089da18ced5200
- 将 pendingRoomInfoRequest 重命名为 needsInitialRoomInfo 以更准确表达含义 - 移除 waiting 阶段的限制条件,仅在结算阶段返回 false - 当手牌为空时才返回空状态,避免误判 - 新增 handlePlayerDingQueResponse 函数处理玩家定缺响应 - 优化 onMounted 中的房间信息请求逻辑,确保连接状态下才发送请求 - 在消息处理器中添加对定缺响应的处理支持
Mahjong Web
This project uses Vue 3, TypeScript, Vite, and pnpm for package management.
Setup
Install dependencies:
pnpm install
Start the development server:
pnpm dev
Build for production:
pnpm build
Preview the production build:
pnpm preview
Description
Languages
Vue
70.1%
TypeScript
16.2%
CSS
13.4%
HTML
0.3%