From 454010d7b810d65addec51d6e0b9d74ae5bad3e0 Mon Sep 17 00:00:00 2001 From: kola-web Date: Mon, 17 Mar 2025 15:55:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=99=BB=E5=BD=95=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=EF=BC=8C=E9=81=BF=E5=85=8D=E6=96=B0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E8=BF=9B=E5=85=A5=E7=99=BB=E5=BD=95=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app.ts b/src/app.ts index d8bc7db..5bf3813 100644 --- a/src/app.ts +++ b/src/app.ts @@ -3,7 +3,6 @@ import relativeTime from '@/utils/dayjs/relativeTime.js'; import page from '@/utils/page'; import { request } from '@/utils/request'; import { parseScene } from './utils/util'; - const dayjs = require('dayjs'); const licia = require('miniprogram-licia'); @@ -50,7 +49,7 @@ App({ }, }).then((res) => { this.globalData.loginState = res.loginState; - this.globalData.isLogin = res.isLogin; + this.globalData.isLogin = res.isLogin || 999; }); }, });