perf: 重置路由时,清空缓存页面

This commit is contained in:
xiaoxian521
2022-08-24 16:11:41 +08:00
parent 9a448143ae
commit 29144aba44
3 changed files with 4 additions and 2 deletions

View File

@@ -81,6 +81,7 @@ export function resetRouter() {
);
}
});
usePermissionStoreHook().clearAllCachePage();
}
// 路由白名单