fix: 跳转路由新增标签页 (#199)

* fix: 跳转路由新增标签页

* fix: 跳转路由新增标签页兼容

* perf: 删除取消watch监听
This commit is contained in:
一万
2022-02-28 22:08:56 +08:00
committed by GitHub
parent a175cf9fe0
commit 6971ba6c53
4 changed files with 23 additions and 1 deletions

View File

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