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

<script>
	export default {
		data() {
			return {
				pdfUrl: '',
			};
		},
		onLoad(params) {
			this.pdfUrl = `/hybrid/html/web/viewer.html?file=${encodeURIComponent(params)}`

		},
		onBackPress() {}
	}
</script>