Commit a2ad7d5f authored by tyyin lan's avatar tyyin lan

chore: element ui配置调整

parent fd0a3eeb
<script setup lang="ts">
import { ref } from 'vue'
import { ref, shallowRef } from 'vue'
import { useResizeObserver } from '@vueuse/core'
import { useDesignSettingStore } from '@/store/modules/design-setting'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
const designSettingStore = useDesignSettingStore()
const currentLocale = ref({
zhCn,
})
const currentLocale = shallowRef(zhCn)
const rootContainer = ref<HTMLDivElement | null>(null)
......
......@@ -45,9 +45,7 @@ watchEffect(() => {
<el-main class="main-content-wrapper">
<RouterView v-slot="{ Component }">
<Transition appear name="fade-slide" mode="out-in">
<div>
<Component :is="Component" />
</div>
</Transition>
</RouterView>
</el-main>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment