<template>
	<web-view :src="state.url" @message="back"></web-view>
</template>

<script setup>
	import {onLoad} from "@dcloudio/uni-app";
	import {reactive} from "vue";
	const state = reactive({
		url:""
	})
	onLoad((option) => {
		console.log("option",option)
		state.url=option.url
	});
	const back=()=>{
		console.log("back")
		
	}
</script>

<style>
</style>