remove useless file

This commit is contained in:
xuziqiang
2024-05-16 10:38:29 +08:00
parent edfc0ab83a
commit 142721b1c3
1475 changed files with 11 additions and 419903 deletions

View File

@@ -1,5 +1,3 @@
import type { Router } from 'vue-router';
import { NsMessage } from '/nerv-lib/component/message';
import { authorizationService } from '/nerv-base/store/modules/authorization-service';
@@ -10,6 +8,7 @@ export function createPermissionGuard(router: Router, whiteNameList: string[]) {
const authorizationStore = authorizationService();
const appConfig = appConfigStore();
router.beforeEach(async (to, from, next) => {
next();
if (!appConfig.userCustomRouterGuard) {
setRouteChange(to);
if (to?.query?.nervsid) {