liu
2026-09-29 982c97ab82f3beb1b4febcf014562eda34b9fc05
src/components/file-preview/file-preview-modal.vue
@@ -14,8 +14,7 @@
const VueOfficeExcel = defineAsyncComponent(() => import('@vue-office/excel'));
const VueOfficePptx = defineAsyncComponent(() => import('@vue-office/pptx'));
// @vue-office/excel 需要额外导入 CSS
import '@vue-office/excel/lib/v3/style.css';
// @vue-office/excel CSS 通过 vite.config.ts 的 css.preprocessorOptions 注入
const props = withDefaults(
  defineProps<{