提交修改后的版本

This commit is contained in:
2026-02-03 15:30:45 +08:00
parent 19c008a401
commit 5ac365b45e
8 changed files with 664 additions and 518 deletions

View File

@@ -4,7 +4,19 @@ import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App)
app.use(ElementPlus)
app.mount('#app')
app.use(ElementPlus, {
locale: zhCn,
})
// 注册所有图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
app.component(key, component)
}
app.mount('#app')