Commit d11743f7448dbc6c40cca899aa268abb1ffe9737

Authored by wangfan
1 parent 8f0027a0

activity

Showing 1 changed file with 1 additions and 1 deletions
@@ -114,7 +114,7 @@ Page({ @@ -114,7 +114,7 @@ Page({
114 } 114 }
115 } 115 }
116 } 116 }
117 - url+='?id='+res.data.id+'&tplid='+opt.tplid 117 + url+='?id='+res.data.id+'&tplid='+(opt.tplid||1)
118 console.log('wx.redirectTo',url,res); 118 console.log('wx.redirectTo',url,res);
119 this.redirectTo({url: url}); 119 this.redirectTo({url: url});
120 }).catch(res=>{ 120 }).catch(res=>{