mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-16 22:51:14 +00:00
fix: 移除退出登录时的重定向参数
This commit is contained in:
@@ -228,7 +228,8 @@ function logout() {
|
||||
lockScroll: false,
|
||||
}).then(() => {
|
||||
userStore.logout().then(() => {
|
||||
router.push(`/login?redirect=${route.fullPath}`);
|
||||
// router.push(`/login?redirect=${route.fullPath}`);
|
||||
router.push(`/login`);
|
||||
});
|
||||
}).catch(() => {
|
||||
ElMessageBox.close();
|
||||
|
||||
Reference in New Issue
Block a user