<template>
  <web-view :src="url"></web-view>
</template>

<script>
export default {
    data () {
        return {
            url:""
        }
    },
    onLoad(options){
        const eventChannel = this.getOpenerEventChannel()
        eventChannel.on('webUrl', (data)=> {
            this.url=`${data.url}&token=${this.$store.state.user.token}`
        })
    }
}
</script>

<style>

</style>