mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix🐛: 解决切换语言不会监听的问题
This commit is contained in:
+11
-1
@@ -2,6 +2,7 @@ import { RouteRecordRaw } from 'vue-router'
|
||||
import type { AppRouteRecordRaw } from '@/router/types';
|
||||
import { ErrorPage404, ErrorPage403, ErrorPage500, Layout } from '@/router/constant';
|
||||
import { PageEnum } from '@/enums/pageEnum'
|
||||
import { Reload } from '@/components/Reload/index'
|
||||
|
||||
|
||||
export const LoginRoute: RouteRecordRaw = {
|
||||
@@ -50,8 +51,17 @@ export const ErrorPageRoute: AppRouteRecordRaw = {
|
||||
}
|
||||
};
|
||||
|
||||
export const ReloadRoute: AppRouteRecordRaw = {
|
||||
path: PageEnum.RELOAD,
|
||||
name: PageEnum.RELOAD_NAME,
|
||||
component: Reload,
|
||||
meta: {
|
||||
title: PageEnum.RELOAD_NAME,
|
||||
},
|
||||
}
|
||||
|
||||
export const RedirectRoute: AppRouteRecordRaw = {
|
||||
path: '/redirect',
|
||||
path: PageEnum.REDIRECT,
|
||||
name: PageEnum.REDIRECT_NAME,
|
||||
component: Layout,
|
||||
meta: {
|
||||
|
||||
Reference in New Issue
Block a user