|
@@ -108,9 +108,14 @@ export default class Index extends Component {
|
108
|
108
|
console.log(res, "解析二维码返回值")
|
109
|
109
|
})
|
110
|
110
|
}
|
111
|
|
-<<<<<<< HEAD
|
112
|
|
- // h5id 、第一个分享人ID、置业顾问ID、分享人ID
|
113
|
|
- getHFiveDetail(this.$router.params.id).then(res => {
|
|
111
|
+
|
|
112
|
+ console.log(this.$router, "this.$router")
|
|
113
|
+ const router = Taro.getStorageSync('router')
|
|
114
|
+ console.log(router, "router")
|
|
115
|
+ const hFiveId = this.$router.params.id || router.query.id || ""
|
|
116
|
+ console.log(hFiveId, "hFiveId")
|
|
117
|
+ // h5id 、第一个分享人ID、置业顾问ID、分享人ID
|
|
118
|
+ getHFiveDetail(hFiveId).then(res => {
|
114
|
119
|
if(res.status==1){
|
115
|
120
|
this.setState({
|
116
|
121
|
pageInfo: res
|
|
@@ -126,19 +131,6 @@ export default class Index extends Component {
|
126
|
131
|
})
|
127
|
132
|
})
|
128
|
133
|
}
|
129
|
|
-=======
|
130
|
|
- console.log(this.$router, "this.$router")
|
131
|
|
- const router = Taro.getStorageSync('router')
|
132
|
|
- console.log(router, "router")
|
133
|
|
- const hFiveId = this.$router.params.id || router.query.id || ""
|
134
|
|
- console.log(hFiveId, "hFiveId")
|
135
|
|
- // h5id 、第一个分享人ID、置业顾问ID、分享人ID
|
136
|
|
- getHFiveDetail(hFiveId).then(res => {
|
137
|
|
- // debugger
|
138
|
|
- this.setState({
|
139
|
|
- pageInfo: res
|
140
|
|
- })
|
141
|
|
->>>>>>> 7a04f681842a549f9f6b650f1bf35926f30961d7
|
142
|
134
|
})
|
143
|
135
|
const { userInfo: { person: { avatarurl, phone } } } = this.props
|
144
|
136
|
console.log(this.props, "this.propsthis.propsthis.props")
|