dedsudiyu 1 mês atrás
pai
commit
30f29a23cc
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      src/components/newSubVideoComponent.vue

+ 1 - 2
src/components/newSubVideoComponent.vue

@@ -161,7 +161,7 @@
             console.log('dataList2',this.dataList)
           }).catch((error) => {
           })
-        } else {
+        } else if (list[1]) {
           Promise.all([
             this.videoInitialize(sub1)
           ]).then((result) => {
@@ -170,7 +170,6 @@
           }).catch((error) => {
           })
         }
-
       },
       videoInitialize(data) {
         let obj = {