kailong321200875 hace 1 año
padre
commit
38df29a325
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      vite.config.ts

+ 1 - 1
vite.config.ts

@@ -45,7 +45,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
             if (name === 'click-outside') {
               return ''
             }
-            return `element-plus/es/components/${name.substring(3)}/style/css`
+            return `element-plus/es/components/${name.replace(/^el-/, '')}/style/css`
           }
         }]
       }),