|
|
|
@ -82,7 +82,7 @@ import formData from "@/utils/class/date"; |
|
|
|
let list = [...this.list, ...res.data.data];//无法响应 |
|
|
|
this.list.splice(0,this.list.length,...list); |
|
|
|
// this.list.push(...list); |
|
|
|
console.log('length---------------',this.list.length, '页数:',res.data.current_page); |
|
|
|
// console.log('length---------------',this.list.length, '页数:',res.data.current_page); |
|
|
|
if (res.data.data.length < res.data.per_page) this.loadMore = false; |
|
|
|
}); |
|
|
|
}, |
|
|
|
@ -107,7 +107,7 @@ import formData from "@/utils/class/date"; |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad(e) { |
|
|
|
console.log('---------',e); |
|
|
|
// console.log('---------',e); |
|
|
|
this.type = e.type; |
|
|
|
if(e.type=='draw'){ |
|
|
|
this.getWithdrawRecords(); |
|
|
|
|