2025-09-12 17:23:03 +08:00
|
|
|
<template>
|
2025-09-16 16:05:34 +08:00
|
|
|
<view class="my-container">
|
|
|
|
|
|
|
|
|
|
<u-button @click="loginOut">退出登录</u-button>
|
|
|
|
|
|
|
|
|
|
</view>
|
2025-09-15 11:34:07 +08:00
|
|
|
<Tabbar></Tabbar>
|
2025-09-12 17:23:03 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
|
|
|
|
|
|
2025-09-16 16:05:34 +08:00
|
|
|
const loginOut = () => {
|
|
|
|
|
uni.removeStorageSync("token")
|
|
|
|
|
uni.redirectTo({
|
|
|
|
|
url: '/pages/login/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
</script>
|
2025-09-12 17:23:03 +08:00
|
|
|
|
2025-09-16 16:05:34 +08:00
|
|
|
<style scoped lang="scss">
|
|
|
|
|
.my-container {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</style>
|