岳鹏龙 1 year ago
parent
commit
50e912c2a2
  1. 8
      src/pages/myElection/index.vue
  2. 7
      src/pages/votingElection/index.vue

8
src/pages/myElection/index.vue

@ -130,6 +130,14 @@
onMounted(() => { onMounted(() => {
getList() getList()
}) })
onShow(() => {
if (userStore.mobile) {
uni.navigateTo({
url: '/pages/login/login'
});
}
})
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">

7
src/pages/votingElection/index.vue

@ -100,6 +100,13 @@
}) })
} }
} }
onShow(() => {
if (userStore.mobile) {
uni.navigateTo({
url: '/pages/login/login'
});
}
})
</script> </script>
<template> <template>

Loading…
Cancel
Save