修改用电查询切换电表数据不更新的问题
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user