fix(ui): 修复 Banner 封面图不显示

MarkdownViewer 的 baseURL 去掉了 /api 前缀,导致
image_proxy 请求路径错误。改为组件内部直接读取
VITE_API_BASE_URL,与 NoteHistory 保持一致。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
huangjianwu
2026-03-23 15:59:02 +08:00
co-authored by Claude Opus 4.6
parent c46c971e64
commit 795615f0f7
2 changed files with 3 additions and 4 deletions
@@ -233,7 +233,6 @@ const MarkdownViewer: FC<MarkdownViewerProps> = ({ status }) => {
<VideoBanner
audioMeta={currentTask?.audioMeta}
videoUrl={currentTask?.formData?.video_url}
baseURL={baseURL}
/>
</div>
<div className={'markdown-body w-full px-2'}>