修改用电查询切换电表数据不更新的问题

This commit is contained in:
2024-05-07 14:34:00 +08:00
parent 1e92bb8bcf
commit 6ad47c47ac
3 changed files with 15 additions and 4 deletions

View File

@@ -160,7 +160,18 @@ Page({
show: false,
title: ""
}, () => {
this.init();
const { queryType, } = this.data;
switch(queryType) {
case 1:
this.getReadingList();
break;
case 2:
this.getAccountingBalanceList();
break;
default:
this.init();
break;
}
})
},
onTimeClose() {