潘志宝
2025-05-14 04c91558f2a7ad6d1e424cb9781352a37726a134
src/main.ts
@@ -64,6 +64,8 @@
import lifecycles from '@/utils/lifecycles' // 生命周期函数
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// import credentialsFetch from "@/utils/fetch";
const isProduction = process.env.NODE_ENV === "production";
@@ -72,6 +74,10 @@
const setupAll = async () => {
  const app = createApp(App)
  for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
  await setupI18n(app)
  setupStore(app)