Browse Source

频道管理 定制频道

DESKTOP-O04BTUJ\muzen 3 years ago
parent
commit
2990cd6d2a
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/channel/custom/detail.vue

+ 3 - 2
src/views/channel/custom/detail.vue

@@ -156,7 +156,6 @@ export default {
           this.classifyOptions = res.data
         }
       })
-      console.log(this.channelId, this.form);
       channelList({
         channelId: this.channelId,
         audioType: this.form.channelType,
@@ -168,7 +167,9 @@ export default {
           this.$nextTick(() => {
             this.tableData.map(i => {
               let row = res.data[0].pageData.records.find(j => j.id === i.audioId)
-              this.$refs.table.toggleRowSelection(row)
+              if (row) {
+                this.$refs.table.toggleRowSelection(row)
+              }
             })
           })
         }