Commit 7a5b1253e769f0fb6b8fe5fa13a985c6c9f077ce

Authored by pengye
1 parent 1ab60a8a

跳转到邀请函页面路径问题处理

@@ -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}`;