src/views/dmx/knowledgeLib/components/excel.vue
@@ -8,6 +8,7 @@ </template> <script setup> // 获取父组件传递的资源url const props = defineProps({ previewSrc: { @@ -18,7 +19,7 @@ }); //引入VueOfficeExcel组件相关 import VueOfficeExcel from '@vue-office/excel'; import '@vue-office/excel/lib/index.css'; const comStyle = { width: '100%',