diff --git a/pages/template/index.js b/pages/template/index.js index a19607b..af3ee7c 100644 --- a/pages/template/index.js +++ b/pages/template/index.js @@ -16,8 +16,11 @@ Page({ onLoad: function(e) { var th = this; - this.data.temp_id=e.sence; - if(!this.data.temp_id) this.data.temp_id=743; + this.data.temp_id=e.scene; + if(!this.data.temp_id) + this.data.temp_id=e.sence; + if(!this.data.temp_id) wx.showModal({ title:"未读取到模板ID" ,}) + }, async onShow() {