1
李凌
2026-02-01 3888981c74ff539a49efe04a5fbc0390f408b4ec
src/main.js
@@ -17,9 +17,12 @@
const app = createApp(App)
const title = import.meta.env.VITE_APP__TITLE
// 安全获取环境变量,避免 undefined
const title = import.meta.env.VITE_APP__TITLE || ''
app.config.globalProperties.$title = title
document.title = title
if (title) {
  document.title = title
}
app.use(fxHeader)
app.use(i18n)
app.use(router)