优化物业缴费页面下拉刷新 的逻辑
This commit is contained in:
parent
6bfc147b86
commit
d41bd5d543
@ -306,10 +306,10 @@ export default {
|
||||
onPullDownRefresh() {
|
||||
// 根据当前激活的标签页,重新加载对应的数据
|
||||
if (this.active === 0) {
|
||||
// 账单页面,重新获取公积金和账单数据
|
||||
// 账单页面,重新获取公积金和账单数据,不重置已选择的小区
|
||||
Promise.all([
|
||||
this.getUserGovenmentMoney(),
|
||||
this.getRoomSelect()
|
||||
this.getOrderList()
|
||||
]).then(() => {
|
||||
// 数据加载完成后停止下拉刷新
|
||||
uni.stopPullDownRefresh();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user