Files
ArisuAutoSweeper/webapp/packages/renderer/src/views/LoadingPage.vue
T
2023-11-01 15:33:35 +08:00

25 lines
469 B
Vue

<template>
<div class="w-full h-full flex justify-center items-center">
<ASpin
dot
:size="30"
tip="AAS Loading..."
/>
</div>
</template>
<script lang="ts" setup>
import {onMounted} from 'vue';
import router from '/@/router';
onMounted(() => {
const isFirst = window.__electron_preload__checkIsNeedInstall();
if (!isFirst) {
router.push('/Install');
} else {
router.push('/Launch');
}
});
</script>
<style scoped></style>