yinbangzhong
2024-09-05 6b5f0408ab95f5ea135f97924c6e414042cd2a88
src/views/dmx/knowledgeLib/components/Pdf.vue
File was renamed from src/views/dmx/knowledgeLib/components/txtPdf.vue
@@ -1,5 +1,5 @@
<template>
  <iframe :src="previewSrc"></iframe>
<vue-office-pdf :src="previewSrc" :style="comStyle" @rendered="renderedHandler" @error="errorHandler"></vue-office-pdf>
</template>
<script setup>
@@ -12,7 +12,7 @@
    },
  });
  //引入VueOfficeExcel组件相关
  import VueOfficeExcel from '@vue-office/excel';
  import VueOfficePdf from '@vue-office/pdf';
  import '@vue-office/excel/lib/index.css';
  const comStyle = {