src/views/dashboard/Analysis.vue
@@ -198,10 +198,15 @@ .then((imageRes) => { if (imageRes.code === 200 && Array.isArray(imageRes.result) && imageRes.result.length) { return recordList.map((item, index) => { return { const newItem = { ...item, imgPath: imageRes.result[index % imageRes.result.length], } if (item.videoPath && item.videoPath.startsWith('/video/')) { const baseUrl = window.location.origin newItem.videoPath = baseUrl + '/cube/jyz/video/stream/' + item.videoPath.replace('/video/', '') } return newItem }) } return recordList