18 lines
449 B
Vue
18 lines
449 B
Vue
<template>
|
|
<el-config-provider :locale="locale" :size="size">
|
|
<!-- 开启水印 -->
|
|
<router-view />
|
|
</el-config-provider>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useAppStore } from '@/store'
|
|
// import { defaultSettings } from '@/settings';
|
|
import { ComponentSize } from '@/enums'
|
|
|
|
const appStore = useAppStore()
|
|
|
|
const locale = computed(() => appStore.locale)
|
|
const size = computed(() => appStore.size as ComponentSize)
|
|
</script>
|