소스 검색

Merge branch 'iteration-20231024' into jenkins-main

lex 1 년 전
부모
커밋
755aad3517
1개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 5
      src/views/coursewarePlay/index.tsx

+ 2 - 5
src/views/coursewarePlay/index.tsx

@@ -177,11 +177,8 @@ export default defineComponent({
         if (browserInfo.isApp && ['VIDEO', 'IMG'].includes(material.type)) {
           const localData = await getCacheFilePath(material)
           if (localData?.content?.localPath) {
-            material.url = material.content + '?t=' + +new Date()
-            material.content = localData.content.localPath + '?t=' + +new Date()
-          } else {
-            material.url = material.content + '?t=' + +new Date()
-            material.content = material.content + '?t=' + +new Date()
+            material.url = material.content
+            material.content = localData.content.localPath
           }
         }
         const videoData = data.lookVideoDataList.find(