From 50e912c2a26069fb98d2ca8ca470beb001617855 Mon Sep 17 00:00:00 2001 From: yuepenglong <1547476325@qq.com> Date: Fri, 28 Mar 2025 18:37:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/myElection/index.vue | 8 ++++++++ src/pages/votingElection/index.vue | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/src/pages/myElection/index.vue b/src/pages/myElection/index.vue index 4bd4b3e..0a128c3 100644 --- a/src/pages/myElection/index.vue +++ b/src/pages/myElection/index.vue @@ -130,6 +130,14 @@ onMounted(() => { getList() }) + + onShow(() => { + if (userStore.mobile) { + uni.navigateTo({ + url: '/pages/login/login' + }); + } + })