mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 16:16:42 +08:00
image proxy
This commit is contained in:
@@ -18,7 +18,8 @@ function imageLoadHandler() {
|
||||
|
||||
// 计算图片地址
|
||||
const getImgUrl = computed(() => {
|
||||
return props.media?.image || props.media?.image_list?.[0]
|
||||
const image = props.media?.image || props.media?.image_list?.[0] || ''
|
||||
return `${import.meta.env.VITE_API_BASE_URL}system/img/${encodeURIComponent(image)}`
|
||||
})
|
||||
|
||||
// 跳转播放
|
||||
|
||||
Reference in New Issue
Block a user