|
@@ -292,11 +292,9 @@ export default {
|
|
|
if (res.code === 0) {
|
|
|
this.dialogData = res.data.records
|
|
|
this.total = res.data.total
|
|
|
- this.$nextTick(() => {
|
|
|
- this.tableData.map(i => {
|
|
|
- let row = res.data.records.find(j => j.id === i.audioId)
|
|
|
- this.$refs.table.toggleRowSelection(row)
|
|
|
- })
|
|
|
+ this.tableData.map(i => {
|
|
|
+ let row = res.data.records.find(j => j.id === i.audioId)
|
|
|
+ this.$refs.table.toggleRowSelection(row)
|
|
|
})
|
|
|
this.loading = false
|
|
|
}
|
|
@@ -329,7 +327,7 @@ export default {
|
|
|
this.dialogForm.name = ''
|
|
|
this.dialogForm.pageNum = 1
|
|
|
this.dialogForm.pageSize = 10
|
|
|
- this.getSearch()
|
|
|
+ this.getPage()
|
|
|
},
|
|
|
|
|
|
getRowKey(row) {
|