wjj há 1 mês atrás
pai
commit
73259446b5
1 ficheiros alterados com 6 adições e 1 exclusões
  1. 6 1
      src/views/course/userVideo/index.vue

+ 6 - 1
src/views/course/userVideo/index.vue

@@ -658,7 +658,12 @@ export default {
         isAudit:1
       },
       this.auditDialog.open=true;
-      this.auditForm.videoIds = [row.videoId] || this.ids;
+      if (row.videoId) {
+        this.auditForm.videoIds = [row.videoId];
+      } else {
+        this.auditForm.videoIds = this.ids;
+      }
+      //this.auditForm.videoIds = row.videoId || this.ids;
     },
     handleClickX(){
       this.getList()