skyblued 2 years ago
parent
commit
a6f4f01f15
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/exercise-after-class/index.tsx

+ 2 - 0
src/views/exercise-after-class/index.tsx

@@ -128,11 +128,13 @@ export default defineComponent({
         //请求本地缓存
         if (browserInfo.isApp && ['VIDEO'].includes(videoData.type)) {
           const localData = await getCacheFilePath(videoData)
+          console.log("🚀 ~ 本地缓存数据", localData)
           if (localData?.content?.localPath) {
             videoData.url = videoData.content
             videoData.content = localData.content.localPath
           }
         }
+        console.log(videoData.content)
         data.itemList.push({
           ...videoData,
           id: videoData.materialId,