fix: 优化生产环境前端端口显示逻辑

- 检测是否为生产环境(通过检查dist目录)
- 生产环境显示Nginx配置提示,不自动重启
- 开发环境保持自动重启功能
- 区分显示生产环境和开发环境状态
This commit is contained in:
zhang1106
2026-02-05 11:00:42 +08:00
parent d398673f74
commit bfc5b75b1a
7 changed files with 231 additions and 63 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ MYSQL_DATABASE=idc_management
#### 2. 安装生产依赖
```bash
npm install --only=production
npm install
```
#### 3. 配置数据库