ArchiveMain.vue 424 B

1234567891011121314151617181920212223
  1. <script setup lang="ts">
  2. import { useArchiveKey } from "@/views/archive/index.tsx";
  3. const root = inject(useArchiveKey);
  4. </script>
  5. <template>
  6. <div class="archive_main">
  7. <iframe
  8. :src="root.store.pdfUrl"
  9. :ref="el => (root.store.mainIframe = el)"
  10. class="layout_full_iframe"
  11. />
  12. </div>
  13. </template>
  14. <style lang="scss">
  15. .archive_main {
  16. background: white;
  17. width: 100%;
  18. height: 100%;
  19. }
  20. </style>