Explorar o código

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

puhui999 %!s(int64=2) %!d(string=hai) anos
pai
achega
01837ad502
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()