|
@@ -83,6 +83,9 @@
|
|
this.canReset = true // 过滤第一次的onShow事件,避免初始化界面时重复触发upCallback, 无需配置auto:false
|
|
this.canReset = true // 过滤第一次的onShow事件,避免初始化界面时重复触发upCallback, 无需配置auto:false
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ onShow() {
|
|
this.$request.baseRequest('admin.unimall.cardExchangeInfo', 'list', {
|
|
this.$request.baseRequest('admin.unimall.cardExchangeInfo', 'list', {
|
|
receiveId:this.userInfo.id,
|
|
receiveId:this.userInfo.id,
|
|
status:1
|
|
status:1
|
|
@@ -93,14 +96,11 @@
|
|
title: failres.errmsg,
|
|
title: failres.errmsg,
|
|
duration: 3000
|
|
duration: 3000
|
|
});
|
|
});
|
|
- uni.hideLoading()
|
|
|
|
|
|
+
|
|
}).then(res => {
|
|
}).then(res => {
|
|
- uni.hideLoading()
|
|
|
|
this.cardList = res.data.items.filter((item)=>{return item.status==0})
|
|
this.cardList = res.data.items.filter((item)=>{return item.status==0})
|
|
console.log(this.cardList)
|
|
console.log(this.cardList)
|
|
})
|
|
})
|
|
- },
|
|
|
|
- onShow() {
|
|
|
|
this.searchVal = uni.getStorageSync("cirlce_search_val") ? uni.getStorageSync("cirlce_search_val") : ''
|
|
this.searchVal = uni.getStorageSync("cirlce_search_val") ? uni.getStorageSync("cirlce_search_val") : ''
|
|
if(this.searchVal) this.mescroll.resetUpScroll();
|
|
if(this.searchVal) this.mescroll.resetUpScroll();
|
|
},
|
|
},
|