You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
420 B

2 months ago
<template>
<view><web-view :src="url"></web-view></view>
</template>
<script>
export default {
data() {
return {
url: ''
};
},
onLoad(params) {
// console.log(params.urlID);
// let links = decodeURIComponent(params.url);
// this.url = `/hybrid/html/pdf.html?url=${links}`;
let { urlID } = params;
this.url = `/hybrid/html/pdf.html?url=${urlID}`;
},
onBackPress() {}
};
</script>
<style></style>