lex пре 1 година
родитељ
комит
279fc04220
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      src/views/coursewarePlay/index.tsx

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

@@ -181,8 +181,9 @@ export default defineComponent({
         if (browserInfo.isApp && ['VIDEO', 'IMG'].includes(material.typeCode)) {
           const localData = await getCacheFilePath(material);
           if (localData?.content?.localPath) {
-            material.url = material.content;
-            material.content = 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();