diff --git a/src/pages/votingElection/index.vue b/src/pages/votingElection/index.vue index b1258ed..42b2cf1 100644 --- a/src/pages/votingElection/index.vue +++ b/src/pages/votingElection/index.vue @@ -100,13 +100,14 @@ const submit = () => { } } -const navto = (url: string, mode: pageMode = 'navigateTo') => uni.$util.goToPage({ url: url ?? 'pages/index/index', mode }) const isEmptyObject = (obj: any) => { if (obj == null) return true if (typeof obj !== 'object' || Array.isArray(obj)) return true return Reflect.ownKeys(obj).length === 0 } +const onConfirm = () => uni.reLaunch({ url: '/pages/mine/index' }) + onShow(() => { nextTick(() => { if (userStore.mobile === '') { @@ -169,7 +170,7 @@ onShow(() => { 暂时没有选举 请刷新重试 - 请您签到之后再进行投票! + 请您签到之后再进行投票!