Ver Fonte

解决导入css报警告的问题
解决方法来源 https://github.com/vitejs/vite/pull/10762

puhui999 há 2 anos atrás
pai
commit
01837ad502
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/XTable/src/XTable.vue

+ 1 - 1
src/components/XTable/src/XTable.vue

@@ -12,7 +12,7 @@ import { useAppStore } from '@/store/modules/app'
 import { useDesign } from '@/hooks/web/useDesign'
 import { XTableProps } from './type'
 import { isBoolean, isFunction } from '@/utils/is'
-import styleCss from './style/dark.scss'
+import styleCss from './style/dark.scss?inline'
 import download from '@/utils/download'
 
 const { t } = useI18n()