Showing
1 changed file
with
5 additions
and
3 deletions
| @@ -67,9 +67,11 @@ Page({ | @@ -67,9 +67,11 @@ Page({ | ||
| 67 | App.Seller.GetSellerTemplateConf({ | 67 | App.Seller.GetSellerTemplateConf({ |
| 68 | sid:this.detail.seller.id | 68 | sid:this.detail.seller.id |
| 69 | }).then(res => { | 69 | }).then(res => { |
| 70 | - wx.navigateTo({ | ||
| 71 | - url:`/pages/customer/detail_owner_invitation${this.data.StyleType}?id=${detail.id}&hasInvitation=1&hasSellerShare=1&tplid=1` | ||
| 72 | - }) | 70 | + if(res.data && res.data.type){ |
| 71 | + wx.navigateTo({ | ||
| 72 | + url:`/pages/customer/detail_owner_invitation${res.data.type}?id=${this.detail.id}&hasInvitation=1&hasSellerShare=1&tplid=1` | ||
| 73 | + }) | ||
| 74 | + } | ||
| 73 | }) | 75 | }) |
| 74 | }, | 76 | }, |
| 75 | //返回我的订单页面 | 77 | //返回我的订单页面 |
-
Please register or login to post a comment