fix: 修改登录成功跳转首页
This commit is contained in:
parent
3b7927503d
commit
586361cc4f
|
|
@ -206,7 +206,8 @@ function handleLogin() {
|
||||||
|
|
||||||
const { path, queryParams } = parseRedirect();
|
const { path, queryParams } = parseRedirect();
|
||||||
console.log(path, queryParams);
|
console.log(path, queryParams);
|
||||||
router.replace({ path: path, query: queryParams });
|
// router.replace({ path: path, query: queryParams });
|
||||||
|
router.replace({ path: "/" });
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
state.loading = false;
|
state.loading = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue