1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| <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 />
| </el-config-provider>
| </template>
|
| <style scoped>
| html, body, #app {
| height: 100vh;
| margin: 0;
| padding: 0;
| }
|
|
| html {
| overflow-y: hidden;
| }
| </style>
|
|