diff --git a/src/renderer/src/pages/Film.vue b/src/renderer/src/pages/Film.vue index 3d2eeb4f1..21ff01f9f 100644 --- a/src/renderer/src/pages/Film.vue +++ b/src/renderer/src/pages/Film.vue @@ -40,15 +40,20 @@ :loading="renderLoading" :error="renderError"> @@ -524,12 +529,20 @@ const getSearchList = async () => { length = searchGroup.length > 1 ? 1 : 0; return length; } + // 更新详情为vod_content或者vod_remarks + if (resultSearch.length > 0 && !_.has(resultSearch[0], 'vod_blurb')) { + resultSearch.forEach(it=>{ + it.vod_blurb = it.vod_content || it.vod_remarks; + }); + } // console.log('currentSite:', currentSite); let resultDetail = resultSearch; if (resultSearch.length > 0 && !_.has(resultSearch[0], 'vod_pic')) { if ([0, 1].includes(currentSite.type)) { const ids = resultSearch.map((item) => item.vod_id); resultDetail = await fetchDetail(currentSite, ids.join(',')); + } else if([2, 6, 7].includes(currentSite.type)){ + console.log('[film][search] updatePic not use in drpy/hipy sites.'); } else { const updatePic = async (item) => { try {