完善发票和充值
This commit is contained in:
		| @@ -21,12 +21,10 @@ Page({ | ||||
|    */ | ||||
|   onLoad(options) { | ||||
|     const { tenement, code } = options | ||||
|     console.log('options', options) | ||||
|     this.init({ tenement, code }) | ||||
|   }, | ||||
|   async init(options) { | ||||
|     const { code, message, data = {}} = await getMeterDetail(options) | ||||
|     console.log('data', data) | ||||
|     this.setData({ | ||||
|       detail: data | ||||
|     }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user