This commit is contained in:
2026-03-30 20:24:28 +09:00
7 changed files with 74 additions and 0 deletions
+16
View File
@@ -1,4 +1,5 @@
<template>
<<<<<<< HEAD
<div
v-if="processStatus === true"
:class='[
@@ -33,10 +34,13 @@
<Progress v-if='processStatus === "async"' />
</div>
=======
>>>>>>> 49ca1fac60aecb94a7d76865c14a673f1ca1eccf
</template>
<script lang="ts" setup>
import { useHead } from "@vueuse/head";
<<<<<<< HEAD
import Database, { getByIndex } from "@/lib/db";
import useAPI from "@/lib/api";
import { isSignin } from "@/lib/account";
@@ -44,12 +48,18 @@ import { useRouter } from "vue-router";
import { ref } from "vue";
import Progress from "@/components/Progress.vue";
import User from "@/components/User.vue";
=======
import Database from "@/lib/db";
import { isSignin } from "@/lib/account";
import { useRouter } from "vue-router";
>>>>>>> 49ca1fac60aecb94a7d76865c14a673f1ca1eccf
useHead({
title: "ホーム | Clean Follow uwuzu",
});
const db = new Database();
<<<<<<< HEAD
const router = useRouter();
const me = ref<any>();
@@ -98,4 +108,10 @@ const hostname = ref<string>("");
processStatus.value = false;
}) ();
=======
if (!await isSignin(db)) {
useRouter().replace("/signin");
}
>>>>>>> 49ca1fac60aecb94a7d76865c14a673f1ca1eccf
</script>