|
@@ -11,12 +11,10 @@
|
|
|
|
|
|
<script setup>
|
|
|
import { ref, onMounted, nextTick, provide } from "vue"
|
|
|
-import { useDarkThemeHook, useLang,AcquisitionArea } from '@/hooks'
|
|
|
+import { useDarkThemeHook, useLang } from '@/hooks'
|
|
|
import { useSystemStore } from '@/store/modules/systemStore'
|
|
|
import axios from "axios";
|
|
|
const isRouterActive = ref(true)
|
|
|
-// 全局语言
|
|
|
-const { locale } = useLang()
|
|
|
const systemStore = useSystemStore()
|
|
|
|
|
|
// 暗黑主题
|
|
@@ -29,9 +27,12 @@ provide('reloadRoutePage', () => {
|
|
|
})
|
|
|
})
|
|
|
|
|
|
-
|
|
|
-onMounted(async () => {
|
|
|
- AcquisitionArea()
|
|
|
+onMounted(() => {
|
|
|
+ const getLoadingNode = document.getElementById('Loading')
|
|
|
+ const { body } = document
|
|
|
+ if (getLoadingNode) {
|
|
|
+ body.removeChild(getLoadingNode)
|
|
|
+ }
|
|
|
})
|
|
|
</script>
|
|
|
|