修改了首页

This commit is contained in:
2026-03-05 13:32:48 +08:00
commit 2c80df8b07
322 changed files with 48063 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<template>
<a-spin size="large" tip="正在退出..." class="logout-spin" />
</template>
<script setup lang="ts">
import { removeToken } from '@/utils/token-util'
import { clearAuthz } from '@/utils/permission'
definePageMeta({ layout: 'console' })
onMounted(async () => {
removeToken()
try {
localStorage.removeItem('TenantId')
localStorage.removeItem('UserId')
} catch {
// ignore
}
clearAuthz()
await navigateTo('/')
})
</script>
<style scoped>
.logout-spin {
display: flex;
align-items: center;
justify-content: center;
min-height: 240px;
}
</style>