wsy182 0f1684b8d7 feat(game): 更新游戏页面功能和认证刷新机制
- 将开发环境代理目标从 192.168.1.5 改为 127.0.0.1
- 重构 auth.ts 文件中的代码缩进格式
- 实现自动令牌刷新机制,支持 JWT 过期时间检测
- 添加 WebSocket 连接的令牌强制刷新逻辑
- 新增 WindSquare 组件显示方位风向图标
- 实现动态座位风向计算和显示功能
- 优化 WebSocket URL 构建方式,移除查询参数中的令牌传递
- 添加登录失效时自动跳转到登录页面的功能
- 限制玩家名称显示长度为4个字符
- 改进 WebSocket 错误处理和重连机制
2026-03-26 13:28:35 +08:00
2026-02-18 14:30:42 +08:00
2026-02-18 14:30:42 +08:00
2026-03-24 15:25:40 +08:00
2026-02-18 14:30:42 +08:00
2026-02-18 14:30:42 +08:00
2026-02-18 14:30:42 +08:00
2026-02-18 14:30:42 +08:00
```
2026-03-24 14:38:47 +08:00

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
No description provided
Readme 42 MiB
Languages
Vue 70.1%
TypeScript 16.2%
CSS 13.4%
HTML 0.3%