<template>
<web-view :src="url"></web-view>
</template>
<script>
export default {
data() {
return {
url: '' as string | null
}
},
onLoad(options) {
let url = options["url"] as string | null;
if (url != null) {
this.url = decodeURIComponent(url);
}
}
}
</script>