Browse Source

fix sort problem

ethan 6 years ago
parent
commit
a920429afb
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/room/gameHistory/index.vue

+ 3 - 3
src/views/room/gameHistory/index.vue

162
       // 'SetQuery',
162
       // 'SetQuery',
163
       // 'SetDate'
163
       // 'SetDate'
164
     ]),
164
     ]),
165
-    getList() {
165
+    async getList() {
166
       this.listLoading = true
166
       this.listLoading = true
167
       //this.list = []
167
       //this.list = []
168
-      fetchGameHistory(this.data.thirdLayer, this.listQuery).then(response => {
168
+      await fetchGameHistory(this.data.thirdLayer, this.listQuery).then(response => {
169
         this.chipLogList = response.data
169
         this.chipLogList = response.data
170
         console.log('wallet', this.chipLogList,this.data.thirdLayer)
170
         console.log('wallet', this.chipLogList,this.data.thirdLayer)
171
         this.tempCurrentChips = []
171
         this.tempCurrentChips = []
182
           })
182
           })
183
         })
183
         })
184
       })
184
       })
185
-      fetchChipsHistory(this.data.thirdLayer, this.listQuery).then(response => {
185
+      await fetchChipsHistory(this.data.thirdLayer, this.listQuery).then(response => {
186
         this.gameRecordList = response.data
186
         this.gameRecordList = response.data
187
         this.gameRecordList.map((item) => {
187
         this.gameRecordList.map((item) => {
188
           if(item.type === config.const.GambleMemberChipsLog.type.deposit) item.type =  '上 / 下 分';
188
           if(item.type === config.const.GambleMemberChipsLog.type.deposit) item.type =  '上 / 下 分';