mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-08-29 03:56:59 +08:00
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:
co-authored by
Claude Opus 4.6
parent
c46c971e64
commit
795615f0f7
@@ -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'}>
|
||||
|
||||
Reference in New Issue
Block a user