fix(router): resolve the next function being called twice (#3643)

closed #3642
This commit is contained in:
Zhong 2024-03-05 10:26:05 +08:00 committed by GitHub
parent 89830ec7e6
commit 7ec9344be8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -125,7 +125,6 @@ export function createPermissionGuard(router: Router) {
// 指向redirect
next({ path: redirect, replace: true });
}
next();
} else {
// 正常访问
next();