Merged
Merge Request #411 · created by 后端研发-苏明海


定义模板分享显示


From dev into test

Merged by 后端研发-苏明海

1 participants

pages/template/index.js
@@ -16,8 +16,11 @@ Page({ @@ -16,8 +16,11 @@ Page({
16 16
17 onLoad: function(e) { 17 onLoad: function(e) {
18 var th = this; 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 async onShow() { 26 async onShow() {