优化代码

This commit is contained in:
wanglongjie 2026-01-28 08:50:26 +08:00
parent ed859652c1
commit 6ea38be9d0
2 changed files with 2 additions and 2 deletions

View File

@ -79,8 +79,7 @@ docker-compose ps
- **前端应用**: http://localhost - **前端应用**: http://localhost
- **后端 API**: http://localhost:8080/api - **后端 API**: http://localhost:8080/api
- **默认账号**: - **默认账号**:
- 管理员: `admin` / `admin123` - 管理员: `admin` / `Bycrmadmin123`
- 经销商: `user001` / `admin123`
## 常用命令 ## 常用命令

View File

@ -11,6 +11,7 @@ export default defineConfig({
} }
}, },
server: { server: {
host: '0.0.0.0', // 或写成 host: true
port: 5173, port: 5173,
proxy: { proxy: {
'/api': { '/api': {