From cf1fb130e4eca6f2e780673dd6d09432a826ba13 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Tue, 23 May 2023 01:25:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20=E5=85=B3=E9=97=AD=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E5=AE=8C=E6=95=B4=E6=80=A7=E6=A3=80=E6=B5=8B?= =?UTF-8?q?&ck=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Home.vue | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/pages/Home.vue b/src/pages/Home.vue index b271fc5a..3530c810 100644 --- a/src/pages/Home.vue +++ b/src/pages/Home.vue @@ -12,13 +12,9 @@ import TPosition from "../components/t-position.vue"; import TCalendar from "../components/t-calendar.vue"; // store import { useHomeStore } from "../store/modules/home"; -import { useUserStore } from "../store/modules/user"; -// utils -import TGSqlite from "../utils/TGSqlite"; // store const homeStore = useHomeStore(); -const userStore = useUserStore(); // loading const loading = ref(true as boolean); @@ -44,14 +40,6 @@ function readLoading (): void { } onMounted(async () => { - const ck = await TGSqlite.getCookie(); - userStore.initCookie(ck); - loadingTitle.value = "正在检测数据完整性"; - const isOK = await TGSqlite.check(); - if (!isOK) { - loadingTitle.value = "正在修复数据"; - await TGSqlite.reset(); - } loadingTitle.value = "正在加载首页"; const showItems = homeStore.getShowValue(); await Promise.allSettled(