功能选择按钮修改
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
<template>
|
||||
<!--element-plus语言国际化,全局修改为中文-->
|
||||
<el-config-provider :locale='locale' :size="assemblySize" :button="buttonConfig">
|
||||
<router-view />
|
||||
</el-config-provider>
|
||||
<!--element-plus语言国际化,全局修改为中文-->
|
||||
<el-config-provider
|
||||
:locale="locale"
|
||||
:size="assemblySize"
|
||||
:button="buttonConfig"
|
||||
>
|
||||
<router-view :key="$route.fullPath" />
|
||||
</el-config-provider>
|
||||
</template>
|
||||
|
||||
<script lang='ts' setup>
|
||||
<script lang="ts" setup>
|
||||
defineOptions({
|
||||
name: 'App',
|
||||
})
|
||||
name: "App",
|
||||
});
|
||||
import { onMounted, reactive, computed } from "vue";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { getBrowserLang } from "@/utils";
|
||||
@@ -46,9 +50,6 @@ const assemblySize = computed(() => globalStore.assemblySize);
|
||||
// element button config
|
||||
const buttonConfig = reactive({ autoInsertSpace: false });
|
||||
|
||||
document.getElementById('loadingPage')?.remove()
|
||||
|
||||
document.getElementById("loadingPage")?.remove();
|
||||
</script>
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
<style scoped></style>
|
||||
|
||||
Reference in New Issue
Block a user