- 
Status changed to merged 
- 
mentioned in commit 47c94775ebdef095c1be5f6cc820f7a7850a6670 
Showing
1 changed file
pages/template/index.js
| ... | ... | @@ -16,8 +16,11 @@ Page({ | 
| 16 | 16 | |
| 17 | 17 | onLoad: function(e) { | 
| 18 | 18 | var th = this; | 
| 19 | - this.data.temp_id=e.sence; | |
| 20 | - if(!this.data.temp_id) this.data.temp_id=743; | |
| 19 | + this.data.temp_id=e.scene; | |
| 20 | + if(!this.data.temp_id) | |
| 21 | + this.data.temp_id=e.sence; | |
| 22 | + if(!this.data.temp_id) wx.showModal({ title:"未读取到模板ID" ,}) | |
| 23 | + | |
| 21 | 24 | }, | 
| 22 | 25 | |
| 23 | 26 | async onShow() { | ... | ... | 
