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

<script>
	export default {
		data() {
			return {
				webviewUrl: ''
			};
		},
		// 页面加载时接收URL参数并解码
		onLoad(option) {
			let token = uni.getStorageSync('token')
			let url = "https://tc.pcxbc.com/editortext/model_content?token=" + token + '&id=' + option.id
			console.log("11111",url)
			this.webviewUrl = decodeURIComponent(url);
		}
	}
</script>