fix(frontend): restore stable element-plus bootstrap to resolve admin crash

This commit is contained in:
2026-02-07 18:11:23 +08:00
parent 06fe7f6f68
commit c285d1e348
68 changed files with 171 additions and 1119 deletions

View File

@@ -1,9 +1,3 @@
<script setup>
import zhCn from 'element-plus/es/locale/lang/zh-cn'
</script>
<template>
<el-config-provider :locale="zhCn">
<RouterView />
</el-config-provider>
<RouterView />
</template>

View File

@@ -3,7 +3,10 @@ import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'element-plus/dist/index.css'
import './style.css'
createApp(App).use(router).mount('#app')
createApp(App).use(router).use(ElementPlus, { locale: zhCn }).mount('#app')