fix: 统一管理端开发与部署路由契约

- 开发与生产统一使用 /flow/ 基路径和 Hash 路由

- 自动规范化本地根路径入口并补充契约测试
This commit is contained in:
2026-07-24 19:00:47 +08:00
parent 63eb55e24c
commit a75f7baf1b
8 changed files with 211 additions and 13 deletions

View File

@@ -58,6 +58,14 @@ pnpm install
pnpm dev
```
管理端开发环境与生产环境统一使用 `/flow/` 基路径和 Hash 路由,默认访问地址:
```text
http://127.0.0.1:5090/flow/#/
```
直接访问 `http://127.0.0.1:5090``/flow` 时,开发服务器会自动补齐 `/flow/`
用户中心:
```bash