xyyh-hhj/src/page/Home/App.vue
2025-02-25 18:00:42 +08:00

29 lines
476 B
Vue

<script setup>
import Loading from '@/components/Loading.vue';
import Index from '@/components/Index.vue';
const showLoading = ref(true);
const showIndex = ref(false);
const LoadingFn = (item) =>{
if(item.action == 'hide'){
showLoading.value = false;
showIndex.value = true;
}
}
const IndexFn = (item) =>{
}
</script>
<template>
<Index v-if="showIndex" />
<Loading v-if="showLoading" @LoadPage="LoadingFn" />
</template>
<style lang="scss">
</style>