kailong321200875 1 rok temu
rodzic
commit
38df29a325
1 zmienionych plików z 1 dodań i 1 usunięć
  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`
           }
         }]
       }),