Commit cacfb599 authored by 张九刚's avatar 张九刚

fix: 在搜索页面的视频播放功能中添加视频 URL 处理逻辑,确保视频链接正确拼接

parent 71535816
...@@ -141,6 +141,9 @@ export default { ...@@ -141,6 +141,9 @@ export default {
}, },
jumpLink(link,videoUrl){ jumpLink(link,videoUrl){
if(videoUrl){ if(videoUrl){
if(videoUrl.indexOf('http') === -1){
videoUrl = this.$baseUrl + videoUrl;
}
this.currentVideoUrl = videoUrl; this.currentVideoUrl = videoUrl;
this.showVideo = true; this.showVideo = true;
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment