chore: types

This commit is contained in:
Vben
2021-03-26 22:22:58 +08:00
parent 5b4a41ced4
commit a98835e18b
15 changed files with 122 additions and 255 deletions

View File

@@ -38,7 +38,7 @@ export function createPermissionGuard(router: Router) {
return;
}
// redirect login page
const redirectData: { path: string; replace: boolean; query?: Indexable<string> } = {
const redirectData: { path: string; replace: boolean; query?: Recordable<string> } = {
path: LOGIN_PATH,
replace: true,
};