chore: wrong debug log
This commit is contained in:
parent
bd0241a9ac
commit
80a93a170e
@ -73,7 +73,6 @@ export const useAuthStore = defineStore('auth', () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function logout(redirect: boolean = true) {
|
async function logout(redirect: boolean = true) {
|
||||||
console.log(accessStore.accessToken);
|
|
||||||
try {
|
try {
|
||||||
await seeConnectionClose();
|
await seeConnectionClose();
|
||||||
await doLogout();
|
await doLogout();
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onBeforeUnmount } from 'vue';
|
|
||||||
|
|
||||||
import { useVbenModal } from '@vben/common-ui';
|
import { useVbenModal } from '@vben/common-ui';
|
||||||
|
|
||||||
import { Description, useDescription } from '#/components/description';
|
import { Description, useDescription } from '#/components/description';
|
||||||
@ -21,8 +19,6 @@ const [BasicModal, modalApi] = useVbenModal({
|
|||||||
setDescProps({ data }, true);
|
setDescProps({ data }, true);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
onBeforeUnmount(() => console.log('before unmount'));
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
Loading…
Reference in New Issue
Block a user