123456789101112131415161718192021 |
- <template>
- <web-view :src="url"></web-view>
- </template>
- <script>
- import {h5BaseUrl} from '@/utils/config'
- export default {
- data () {
- return {
- url:''
- }
- },
- onLoad(options) {
- let reportId=options.reportId
- const timestamp=new Date().getTime()
- const token=this.$store.state.user.token
- this.url=`${h5BaseUrl}/hzyb/report/detail?reportId=${reportId}&token=${token}×tamp=${timestamp}#wechat_redirect`
- },
-
- }
- </script>
|