|
@@ -294,7 +294,9 @@ export default {
|
|
|
this.total = res.data.total
|
|
|
this.tableData.map(i => {
|
|
|
let row = res.data.records.find(j => j.id === i.audioId)
|
|
|
- this.$refs.table.toggleRowSelection(row)
|
|
|
+ if (row) {
|
|
|
+ this.$refs.table.toggleRowSelection(row)
|
|
|
+ }
|
|
|
})
|
|
|
this.loading = false
|
|
|
}
|