docs: 更新 v1.0.1 发布说明,添加编辑页面修复记录

This commit is contained in:
酷博特 2026-03-16 12:07:36 +08:00
parent e98e842eff
commit 3da50776c3
1 changed files with 26 additions and 0 deletions

View File

@ -163,6 +163,32 @@ src={`/${img.path}`}
--- ---
### 5. 编辑页面图片预览修复 📝
**问题描述**:
- 编辑页面 `Edit.jsx` 中图片预览 URL 写死了错误的服务器地址
- 导致编辑页面无法显示图片预览
**解决方案**:
- 使用相对路径代替硬编码 URL
**代码变更**:
```jsx
// frontend/src/pages/Edit.jsx
// 修复前 (2 处)
preview: `http://120.26.133.10:3000/${img.path}`
// 修复后
preview: `/${img.path}`
```
**影响范围**:
- ✅ 编辑页面图片预览
- ✅ 图片上传后预览更新
---
## 📊 技术细节 ## 📊 技术细节
### 图片访问流程 ### 图片访问流程