mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-11-12 21:53:39 +08:00
perf: 同步完整版代码
This commit is contained in:
@@ -45,6 +45,13 @@ watch(
|
||||
}
|
||||
);
|
||||
|
||||
watch(
|
||||
() => route.path,
|
||||
() => {
|
||||
menuSelect(route.path, routers);
|
||||
}
|
||||
);
|
||||
|
||||
function translationCh() {
|
||||
instance.locale = { locale: "zh" };
|
||||
locale.value = "zh";
|
||||
|
||||
@@ -49,7 +49,10 @@ onBeforeMount(() => {
|
||||
|
||||
watch(
|
||||
() => route.path,
|
||||
() => getSubMenuData(route.path)
|
||||
() => {
|
||||
getSubMenuData(route.path);
|
||||
menuSelect(route.path, routers);
|
||||
}
|
||||
);
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user