<script setup lang="ts">
import { useArchiveKey } from "@/views/archive/index.tsx";

const root = inject(useArchiveKey);
</script>

<template>
  <div class="archive_main">
    <iframe
      :src="root.store.pdfUrl"
      :ref="el => (root.store.mainIframe = el)"
      class="layout_full_iframe"
    />
  </div>
</template>

<style lang="scss">
.archive_main {
  background: white;
  width: 100%;
  height: 100%;
}
</style>
