Files
it-console/code/web/IT工具综合平台/src/App.vue

38 lines
626 B
Vue
Raw Normal View History

2023-01-29 10:17:49 +08:00
<!--
* @Author: Kane
* @Date: 2022-12-14 15:12:46
* @LastEditors: Kane
2023-02-17 13:10:40 +08:00
* @LastEditTime: 2023-02-15 09:34:25
* @FilePath: /IT/src/App.vue
2023-01-29 10:17:49 +08:00
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
<el-config-provider :locale="this.locale">
<router-view></router-view>
</el-config-provider>
</template>
<script>
//引入语言组件
import zhCn from "element-plus/lib/locale/lang/zh-cn";
export default {
name: "App",
2023-02-03 19:04:51 +08:00
setup()
{
const locale = zhCn;
2023-02-17 13:10:40 +08:00
return { locale, };
2023-01-29 10:17:49 +08:00
},
components: {
// HelloWorld,
},
};
</script>
<style>
2023-02-03 19:04:51 +08:00
2023-01-29 10:17:49 +08:00
</style>