马宇豪
2023-02-24 c8bf38e96c51d6bfff71e0a23269945dcb22dffb
src/layout/navBars/breadcrumb/user.vue
@@ -176,7 +176,7 @@
                })
                    .then(async () => {
                        let res = await useLoginApi().signOut();
                        if (res.data.code === '200') {
                        if (res.data.code === 100) {
                            Session.clear(); // 清除缓存/token等
                            // 使用 reload 时,不需要调用 resetRoute() 重置路由
                            window.location.reload();