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