Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -69,7 +69,7 @@ Page({ | @@ -69,7 +69,7 @@ Page({ | ||
| 69 | }).then(res => { | 69 | }).then(res => { |
| 70 | if(res.data && res.data.type){ | 70 | if(res.data && res.data.type){ |
| 71 | let arr = [9, 10, 11, 12, 13, 14, 15, 16, 17]; | 71 | let arr = [9, 10, 11, 12, 13, 14, 15, 16, 17]; |
| 72 | - let style =arr.includes(parseInt(this.data.StyleType)) | 72 | + let style =arr.includes(parseInt(res.data.type)) |
| 73 | let url = ''; | 73 | let url = ''; |
| 74 | if (!style) { | 74 | if (!style) { |
| 75 | url = `/pages/customer/detail_owner_invitation${res.data.type}?id=${this.detail.id}&hasInvitation=1&hasSellerShare=1&tplid=1`; | 75 | url = `/pages/customer/detail_owner_invitation${res.data.type}?id=${this.detail.id}&hasInvitation=1&hasSellerShare=1&tplid=1`; |
| @@ -30,7 +30,7 @@ Page({ | @@ -30,7 +30,7 @@ Page({ | ||
| 30 | sid:this.data.sid | 30 | sid:this.data.sid |
| 31 | }).then(res => { | 31 | }).then(res => { |
| 32 | let arr = [9, 10, 11, 12, 13, 14, 15, 16, 17]; | 32 | let arr = [9, 10, 11, 12, 13, 14, 15, 16, 17]; |
| 33 | - let style =arr.includes(parseInt(this.data.StyleType)) | 33 | + let style =arr.includes(parseInt(res.data.type)) |
| 34 | let url = '' | 34 | let url = '' |
| 35 | if (!style) { | 35 | if (!style) { |
| 36 | url = `/pages/customer/detail_owner_invitation${res.data.type}?id=${that.data.oid}`; | 36 | url = `/pages/customer/detail_owner_invitation${res.data.type}?id=${that.data.oid}`; |
-
Please register or login to post a comment