优化物业缴费页面下拉刷新 的逻辑

This commit is contained in:
赵毅 2025-10-18 16:16:18 +08:00
parent 6bfc147b86
commit d41bd5d543

View File

@ -306,10 +306,10 @@ export default {
onPullDownRefresh() { onPullDownRefresh() {
// 根据当前激活的标签页,重新加载对应的数据 // 根据当前激活的标签页,重新加载对应的数据
if (this.active === 0) { if (this.active === 0) {
// 账单页面,重新获取公积金和账单数据 // 账单页面,重新获取公积金和账单数据,不重置已选择的小区
Promise.all([ Promise.all([
this.getUserGovenmentMoney(), this.getUserGovenmentMoney(),
this.getRoomSelect() this.getOrderList()
]).then(() => { ]).then(() => {
// 数据加载完成后停止下拉刷新 // 数据加载完成后停止下拉刷新
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();