408249787@qq.com 1 주 전
부모
커밋
fe8715075a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      pages/english/detail.uvue

+ 2 - 1
pages/english/detail.uvue

@@ -21,7 +21,8 @@ async function fetchCatalog() {
   if (!course.value?.videoPath) {
     return
   }
-  data.value.videoSrc = course.value?.videoPath.includes('http') ? decodeURIComponent(course.value?.videoPath) : ('https://oss.xiaoxiongcode.com' + decodeURIComponent(course.value?.videoPath))
+
+  data.value.videoSrc = course.value?.videoPath.includes('http') ? encodeURI(course.value?.videoPath) : ('https://oss.xiaoxiongcode.com' + encodeURI(course.value?.videoPath))
 }
 onMounted(async () => {
   await fetchCatalog()