2025-03-31 09:41:56 +08:00
|
|
|
<script setup lang="ts">
|
|
|
|
import { computed } from "vue";
|
2025-03-04 09:11:33 +08:00
|
|
|
import { ElConfigProvider } from "element-plus";
|
|
|
|
import zhCn from "element-plus/lib/locale/lang/zh-cn";
|
|
|
|
import { ReDialog } from "@/components/ReDialog";
|
2025-03-31 09:41:56 +08:00
|
|
|
|
|
|
|
const currentLocale = computed(() => zhCn);
|
|
|
|
|
2025-03-04 09:11:33 +08:00
|
|
|
</script>
|
2025-03-31 09:41:56 +08:00
|
|
|
|
|
|
|
<template>
|
|
|
|
<ElConfigProvider :locale="currentLocale">
|
|
|
|
<router-view />
|
|
|
|
<ReDialog />
|
|
|
|
</ElConfigProvider>
|
|
|
|
</template>
|