<template>
  <van-nav-bar
    title="查看pdf文件"
    left-arrow
    @click-left="onClickLeft"
  />
  <!-- <iframe 
    :src="loadPath + route.query.pdfUrl" 
    type="application/pdf"
    :class="['pdf-area', { active: loadPath.length !== 1 }]"
  >
  </iframe> -->
</template>

<script setup lang="ts">



  const onClickLeft = () => {
    history.back()
  }

  

  

</script>

<style scoped lang="scss">
  .pdf-area{
    width: 100%;
    height: 20rem;
    border: none;
  }
</style>