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' + }); + } + })