|
@@ -291,9 +291,10 @@ export default class Index extends Component {
|
291
|
291
|
const { pageInfo, webViewVisible, codeParams } = this.state
|
292
|
292
|
const { userInfo: { person } } = this.props
|
293
|
293
|
const consultant = person.personType == ROLE_CODE['CONSULTANT'] ? person.userId : ""
|
|
294
|
+ const h5id = this.$router.params.id || router.query.id || ""
|
294
|
295
|
const webUrlParams = [
|
295
|
296
|
`personId=${person.personId}`,
|
296
|
|
- `h5id=${this.$router.params.id}`,
|
|
297
|
+ `h5id=${h5id}`,
|
297
|
298
|
`consultant=${consultant}`,
|
298
|
299
|
`codeParams=${encodeURIComponent(codeParams)}`,
|
299
|
300
|
].join('&')
|