fix34: устранён import-time баг i18n, усилен SSH tunnel policy и doctor warning

This commit is contained in:
2026-05-09 12:34:47 +05:00
parent b2639da71c
commit 2e8e88bccc
6 changed files with 158 additions and 9 deletions
+1 -3
View File
@@ -7,8 +7,6 @@ import "nprogress/nprogress.css";
NProgress.configure({ showSpinner: false }); // Индикатор загрузки
const permissionStore = usePermissionStoreHook();
// Разрешённые маршруты
const whiteList = ["/login", "/register"];
@@ -37,6 +35,7 @@ router.beforeEach(async (to, from, next) => {
} else {
try {
const { roles, forcePasswordChange } = await adminStore.getAdminInfo();
const permissionStore = usePermissionStoreHook();
const accessRoutes = permissionStore.generateRoutes(roles);
accessRoutes.forEach((route) => {
router.addRoute(route);
@@ -68,4 +67,3 @@ router.beforeEach(async (to, from, next) => {
router.afterEach(() => {
NProgress.done();
});