gaoluyang
2026-08-31 8f8dcdae7e40ba4e94a363aa8eb91c7665810bc3
src/components/file-preview/file-preview-modal.vue
@@ -14,10 +14,7 @@
const VueOfficeExcel = defineAsyncComponent(() => import('@vue-office/excel'));
const VueOfficePptx = defineAsyncComponent(() => import('@vue-office/pptx'));
// @vue-office/excel 需要额外导入 CSS
// @vue-office/excel 需要额外导入 CSS
// @vue-office/excel 需要额外导入 CSS
import '@vue-office/excel-css';
// @vue-office/excel CSS 通过 vite.config.ts 的 css.preprocessorOptions 注入
const props = withDefaults(
  defineProps<{