src/main.ts
@@ -13,6 +13,7 @@ import * as ElementPlusIconsVue from '@element-plus/icons-vue'; import { gotoRoute } from '/@/utils/route'; const app = createApp(App); for (const [key, component] of Object.entries(ElementPlusIconsVue)) { app.component(key, component);