<!--
 * @Author: Kane
 * @Date: 2023-02-15 09:25:52
 * @LastEditors: Kane
 * @LastEditTime: 2023-08-25 10:53:30
 * @FilePath: /task_schedule/src/App.vue
 * @Description:
 * 应用的框架：
 * 1、配置el-config-provider，配置为中文。
 *
 * Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
    <el-config-provider :locale="locale">
        <router-view />
    </el-config-provider>
</template>

<script lang="ts">
import zhCn from "element-plus/es/locale/lang/zh-cn"; // element-plus语言组件

export default {
    name: "App",
    components: {},
    setup()
    {
        const locale = zhCn;

        return { locale, };
    },
};
</script>

<style scoped></style>
