1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| <script setup>
| import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
| import { ref } from 'vue'
|
| const locale = ref(zhCn)
| </script>
|
| <template>
| <el-config-provider :locale="locale">
| <router-view></router-view>
| </el-config-provider>
| </template>
|
| <style>
| html,
| body {
| margin: 0;
| font-family: '思源黑体';
| }
| </style>
|
|