<template>
    <global-page title="个人中心">
        <template #bottom>
            <global-button size="large" type="primary" @tap="handleLogOut">退出登录</global-button>
        </template>
    </global-page>
</template>

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

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

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