1
0

feat: add logout for navbar

This commit is contained in:
2026-05-15 09:39:15 +08:00
parent 2a280dcba0
commit e484ded5be
3 changed files with 73 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { ref } from 'vue';
import MessageBox from '@/components/MessageBox.vue';
import { useTokenStore } from '@/stores/token';
import MessageBox from '@/components/MessageBox.vue';
import { webLogin as apiCommonWebLogin } from '@/api/common';
import { goToHome } from '@/router';