You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shop-admin/src/App.vue

32 lines
662 B

<template>
<el-config-provider
:locale="config.locale"
:size="config.size"
:z-index="config.zIndex"
:button="config.button"
:message="config.message"
>
<router-view />
</el-config-provider>
</template>
<script setup>
import zh from 'element-plus/lib/locale/lang/zh-cn';
const route = useRoute();
const config = reactive({
locale: zh,
size: 'default',
zIndex: 300,
button: {
autoInsertSpace: true,
},
message: {
max: 5,
},
});
</script>
<style lang="less">
@import url('@/styles/base.less');
</style>