Files
xdd-uniapp-new/pkg_common/views/pdf.vue
T

22 lines
396 B
Vue

<template>
<web-view :src="pdfPath"></web-view>
</template>
<script>
import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
mixins: [pageListenMixins],
name: 'PdfView',
data() {
return {
pdfPath: '',
pageKeyId: ''
}
},
onLoad(options) {
this.pageKeyId = `investmentInfo_id_${options.id}`
this.pdfPath = options.path
}
}
</script>