1234567891011121314151617 |
- <template>
- <button type="primary" @click="handleLogout" style="margin: 200rpx 0;">退出登录</button>
- </template>
- <script setup>
- function handleLogout(){
- uni.clearStorageSync()
- uni.navigateTo({
- url: "/pages/login/login"
- })
- }
- </script>
- <style>
-
- </style>
|