bug
litian
2024-09-08 ac4e010be3eda5da61d9a3e31748b3395ecfe822
packageDomain/pages/resourceDetails/myVideo/index.js
@@ -48,7 +48,7 @@
    videoLoading: false,
    progress: 0,
    playerList: [],
    videoLoaidng: true
    videoLoading: true
  },
  // 格式化笔记时间
  convertTimestamp(timestamp) {
@@ -223,7 +223,7 @@
  },
  resourceDetailsData() {
    this.setData({
      videoLoaidng: true,
      videoLoading: true,
      loading: true
    })
    let query = {
@@ -293,7 +293,7 @@
    this.setPlayerList()
    const item = e.currentTarget.dataset.item
    this.setData({
      videoLoaidng: true,
      videoLoading: true,
      selectedId: e.currentTarget.dataset.index,
      activeId: item.id,
      // showData: '',
@@ -326,16 +326,19 @@
        if (res && res.data == '') {
          this.setData({
            showDataVod: currentVideo,
            videoLoading: false,
          })
        } else {
          this.setData({
            showDataVod: res,
            videoLoading: false,
          })
        }
        this.setData({})
      } else if (currentVideo) {
        this.setData({
          showDataVod: currentVideo,
          videoLoading: false,
        })
      } else {
        return ElMessage.error('无法获取视频资源')
@@ -646,7 +649,7 @@
  loadedmetadata(e) {
    console.log(1);
    this.setData({
      videoLoaidng: false
      videoLoading: false
    })
  }
})