mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix🐛: 解决切换语言不会监听的问题
This commit is contained in:
+7
-1
@@ -1,6 +1,5 @@
|
||||
import { ResultEnum } from '@/enums/httpEnum'
|
||||
import { ErrorPageNameMap, PageEnum } from '@/enums/pageEnum'
|
||||
import { RouteLocation } from 'vue-router'
|
||||
import router from '@/router'
|
||||
import { docPath, giteeSourceCodePath } from '@/settings/pathConst'
|
||||
|
||||
@@ -87,6 +86,13 @@ export const redirectErrorPage = (code: ResultEnum) => {
|
||||
routerTurnByName(pageName)
|
||||
}
|
||||
|
||||
/**
|
||||
* * 重新加载当前路由页面
|
||||
*/
|
||||
export const reloadRoutePage = () => {
|
||||
routerTurnByName(PageEnum.RELOAD_NAME)
|
||||
}
|
||||
|
||||
/**
|
||||
* * 退出
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user