feat: 部分组件重构完成

This commit is contained in:
kailong321200875
2021-10-17 17:01:42 +08:00
parent 0f5c55c36d
commit 3d9622978d
27 changed files with 1790 additions and 78 deletions

View File

@@ -1,11 +1,14 @@
<template>
<router-view class="app" :class="{ grey__mode: greyMode }" />
<el-config-provider :locale="zhCn">
<router-view class="app" :class="{ grey__mode: greyMode }" />
</el-config-provider>
</template>
<script setup lang="ts" name="App">
import { computed } from 'vue'
import { useAppStore } from '@/store/modules/app'
const appStore = useAppStore()
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
const greyMode = computed(() => appStore.getGreyMode)
</script>