From 25e9946c173fd9802918db5c9cdb324301953d25 Mon Sep 17 00:00:00 2001 From: sexygoat <1538832180@qq.com> Date: Thu, 16 Apr 2026 16:56:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=99=BB=E5=BD=95=E7=BC=93=E5=AD=98tok?= =?UTF-8?q?en?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pages/index/index.vue b/pages/index/index.vue index fde2e93..a5385c3 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -712,6 +712,11 @@ }; onMounted(() => { + const token = uni.getStorageSync('token'); + if (!token) { + uni.reLaunch({ url: '/pages/login/login' }); + return; + } initCurrentMonth(); loadAssetInfo(); });