|
@@ -47,6 +47,13 @@ watch(
|
|
}
|
|
}
|
|
);
|
|
);
|
|
|
|
|
|
|
|
+watch(
|
|
|
|
+ () => route.path,
|
|
|
|
+ () => {
|
|
|
|
+ menuSelect(route.path, routers);
|
|
|
|
+ }
|
|
|
|
+);
|
|
|
|
+
|
|
function translationCh() {
|
|
function translationCh() {
|
|
instance.locale = { locale: "zh" };
|
|
instance.locale = { locale: "zh" };
|
|
locale.value = "zh";
|
|
locale.value = "zh";
|