Browse Source

fix dialog

bucket 6 years ago
parent
commit
0823f62316
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/room/gameHistory/index.vue

+ 4 - 2
src/views/room/gameHistory/index.vue

230
       fetchPersonGameDetail(this.data.thirdLayer.id, row.id).then(response => {
230
       fetchPersonGameDetail(this.data.thirdLayer.id, row.id).then(response => {
231
         console.log('params', this.data.thirdLayer.id, row.id)
231
         console.log('params', this.data.thirdLayer.id, row.id)
232
         console.log('rows', response.data.rows)
232
         console.log('rows', response.data.rows)
233
-        this.dialogList = response.data.rows.map(row => {
234
-          row.serviceFees = row.serviceFees + row.wagerServiceFees + row.FixedServiceFees
233
+        let data = response.data.rows
234
+        data.map(row => {  
235
+          return row.serviceFees = row.serviceFees + row.wagerServiceFees + row.FixedServiceFees
235
         })
236
         })
237
+        this.dialogList = data      
236
         this.listLoading = false
238
         this.listLoading = false
237
       })
239
       })
238
     },
240
     },