修复兑换记录不显示问题
This commit is contained in:
parent
688f814c2e
commit
5662fd6e4f
|
|
@ -88,6 +88,7 @@
|
|||
tabClick(item) {
|
||||
this.list = [];
|
||||
this.tabIndex = item.type;
|
||||
this.query.page=1;
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
|
|
@ -100,7 +101,7 @@
|
|||
this.isLoading=true
|
||||
this.$Request.getT(url, this.query).then(res => {
|
||||
this.isLoading=false
|
||||
this.isEnd=this.query.page>=res.data.totalPage
|
||||
this.isEnd=this.query.page>=( this.tabIndex == 1?res.data.totalPage:res.page.totalPage)
|
||||
if (res.code == 0) {
|
||||
if (this.tabIndex == 1) {
|
||||
this.list = [...this.list, ...res.data.records]
|
||||
|
|
|
|||
Loading…
Reference in New Issue