<template>
    <global-page title="首页" :showNavLeft="false" showTabbar :tabbarValue="0">
        <template #bottom>
            <global-button size="large" type="primary" @tap="handleLogOut">退出登录</global-button>
        </template>
    </global-page>
</template>

<script setup>
import useUserStore from 'mocp/store/user'

//退出登录
const userStore = useUserStore()
const handleLogOut = () => {
    userStore.handleLogOut()
}
</script>

<style lang="scss"></style>
