fix: return redirect
This commit is contained in:
parent
b9f0635d9f
commit
7c964c29d4
@ -94,14 +94,13 @@ function useAuth() {
|
||||
|
||||
const last = getLastVisitedRoute()
|
||||
if (last) {
|
||||
router.push({
|
||||
return router.push({
|
||||
...last,
|
||||
hash,
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
router.push({
|
||||
return router.push({
|
||||
name: `project.${view}`,
|
||||
params: {projectId},
|
||||
hash,
|
||||
|
Loading…
x
Reference in New Issue
Block a user