<template>
  <web-view :src="`/pdf/web/viewer.html?file=${url}`" />
</template>

<script>
export default {
  data() {
    return {
      url: ''
    };
  },
  onLoad(options) {
    const { fileUrl } = options;
		console.log(fileUrl);
    if (fileUrl) {
      this.url = fileUrl;
    }
  }
};
</script>

<style></style>
