Русифицировать README и интерфейс HY2XS admin

This commit is contained in:
2026-04-25 23:51:21 +05:00
parent 84a4e94567
commit 2b4a45ad23
167 changed files with 632 additions and 699 deletions
+6 -4
View File
@@ -7,7 +7,7 @@ import {
export const Layout = () => import("@/layout/index.vue");
// 静态路由
// Статические маршруты
export const constantRoutes: RouteRecordRaw[] = [
{
path: "/redirect",
@@ -183,17 +183,17 @@ export const asyncRoutes: any[] = [
];
/**
* 创建路由
* Создание маршрутизатора
*/
const router = createRouter({
history: createWebHashHistory(),
routes: constantRoutes as RouteRecordRaw[],
// 刷新时,滚动条位置还原
// Восстановление позиции прокрутки при обновлении
scrollBehavior: () => ({ left: 0, top: 0 }),
});
/**
* 重置路由
* Сброс маршрутов
*/
export function resetRouter() {
router.replace({ path: "/login" });
@@ -201,3 +201,5 @@ export function resetRouter() {
}
export default router;