xianyu-backend-java/frontend
lingxiaotian 770b9fc570 fix: 修复 React Router v7 警告和前端 SPA 路由问题
- 前端:启用 React Router v7 future flags 消除控制台警告
- 前端:修复订单列表 key 警告,使用 order_id 或 index 作为 fallback
- 前端:配置 Vite base 为 /static/ 以正确引用生产环境资源
- 后端:重构前端路由处理,统一使用 serve_frontend() 函数
- 后端:添加 catch-all 路由支持前端 SPA 直接访问(/dashboard、/accounts 等)
- 后端:删除旧的 /admin 路由,避
2025-12-02 17:02:39 +08:00
..
public fix: 修复账号管理、商品管理、商品搜索等多个页面问题 2025-11-28 00:31:18 +08:00
src fix: 修复 React Router v7 警告和前端 SPA 路由问题 2025-12-02 17:02:39 +08:00
.gitignore feat(frontend): 前端 UI 重构为 Vben Admin 风格 2025-11-27 01:06:45 +08:00
index.html 完善前端功能:卡券管理完整迁移、移动端侧边栏修复、AI测试账号选择 2025-11-29 18:31:48 +08:00
package.json feat(frontend): 前端 UI 重构为 Vben Admin 风格 2025-11-27 01:06:45 +08:00
pnpm-lock.yaml feat(frontend): 前端 UI 重构为 Vben Admin 风格 2025-11-27 01:06:45 +08:00
postcss.config.js feat(frontend): 前端 UI 重构为 Vben Admin 风格 2025-11-27 01:06:45 +08:00
tailwind.config.js feat(frontend): 前端 UI 重构为 Vben Admin 风格 2025-11-27 01:06:45 +08:00
tsconfig.json feat(frontend): 前端 UI 重构为 Vben Admin 风格 2025-11-27 01:06:45 +08:00
tsconfig.node.json feat(frontend): 前端 UI 重构为 Vben Admin 风格 2025-11-27 01:06:45 +08:00
vite.config.ts fix: 修复 React Router v7 警告和前端 SPA 路由问题 2025-12-02 17:02:39 +08:00