配置针对vue文件eslint

This commit is contained in:
2023-03-17 14:40:04 +08:00
parent 884641abbf
commit 8053360878
16 changed files with 1282 additions and 841 deletions

View File

@@ -2,34 +2,33 @@
* @Author: Kane
* @Date: 2023-02-15 09:25:52
* @LastEditors: Kane
* @LastEditTime: 2023-03-03 10:00:54
* @LastEditTime: 2023-03-17 14:31:14
* @FilePath: /task_schedule/src/App.vue
* @Description:
* @Description:
* 应用的框架
* 1配置el-config-provider配置为中文
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
* 1配置el-config-provider配置为中文
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
<el-config-provider :locale="locale">
<router-view></router-view>
</el-config-provider>
<el-config-provider :locale="locale">
<router-view />
</el-config-provider>
</template>
<script lang="ts">
import zhCn from "element-plus/lib/locale/lang/zh-cn"; //element-plus语言组件
import zhCn from "element-plus/lib/locale/lang/zh-cn"; // element-plus语言组件
export default {
name: "App",
components: {},
setup()
{
const locale = zhCn;
name: "App",
components: {},
setup()
{
const locale = zhCn;
return { locale, };
},
return { locale, };
},
};
</script>
<style scoped></style>