bucket 6 vuotta sitten
vanhempi
commit
0823f62316
1 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 4 2
      src/views/room/gameHistory/index.vue

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

@@ -230,9 +230,11 @@ export default {
230 230
       fetchPersonGameDetail(this.data.thirdLayer.id, row.id).then(response => {
231 231
         console.log('params', this.data.thirdLayer.id, row.id)
232 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 238
         this.listLoading = false
237 239
       })
238 240
     },