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=>{ |
-
Please register or login to post a comment