修改状态
This commit is contained in:
@@ -18,7 +18,8 @@ Page({
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
const { id } = options;
|
||||
const { id, type } = options;
|
||||
this.setData({ id, type })
|
||||
this.getMeterList(id)
|
||||
},
|
||||
async getMeterList(id) {
|
||||
|
||||
Reference in New Issue
Block a user