|
@@ -1,4 +1,5 @@
|
|
|
import { ui18n } from "@/lang"
|
|
|
+import { reactive } from "vue"
|
|
|
|
|
|
export enum RoutesName {
|
|
|
merge = 'merge',
|
|
@@ -16,7 +17,7 @@ export const paths: RouteSeting<string> = {
|
|
|
|
|
|
export type Meta = { title: string, icon: string }
|
|
|
|
|
|
-export const metas: RouteSeting<Meta> = {
|
|
|
+export const metas: RouteSeting<Meta> = reactive({
|
|
|
[RoutesName.merge]: {
|
|
|
icon: 'joint',
|
|
|
title: ui18n.t('sys.merge.joint')
|
|
@@ -29,6 +30,7 @@ export const metas: RouteSeting<Meta> = {
|
|
|
icon: 'path',
|
|
|
title: ui18n.t('sys.guide.path')
|
|
|
}
|
|
|
-}
|
|
|
+})
|
|
|
|
|
|
+console.log(ui18n.t('sys.merge.joint'))
|
|
|
export const ViewHome = RoutesName.merge
|