zhongshujie
11 小时以前 e33672cf85da88d515d5fe6ccc0a139c3cfaa5db
src/components/bookVideo/index.vue
@@ -15,11 +15,11 @@
            <el-tooltip class="item" effect="dark" :content="localIsCollectVideo ? '点击取消' : '点击收藏'"
               placement="top-start">
               <svgIcon class="collect-btn " :icon-file-name="collectResourceList.findIndex(
                        (item) => item.id == videoPath
                    ) > -1
                        ? collectCheck
                        : collectImg
                        " @click="handleCollect()"></svgIcon>
                  (item) => item.id == videoPath
               ) > -1
                  ? collectCheck
                  : collectImg
                  " @click="handleCollect()"></svgIcon>
            </el-tooltip>
         </p>
      </div>
@@ -41,7 +41,6 @@
         videoPathSrc: "",
         collectResourceList: [],
         localIsCollectVideo: false,
         isDisplay: true,
         videoName: this.videoInfo.resourceName
      };
   },
@@ -62,14 +61,11 @@
   },
   methods: {
      async getVidoePath() {
         console.log(this.videoInfo, "this.videoInfo.md5");
         this.videoPathSrc = await getResourcePath(
            this.videoInfo.md5
         );
      },
      handleCollect() {
         debugger
         this.handleCollectResource(
            this.videoPath,
            this.videoPath,