mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
fix: 跳转路由新增标签页 (#199)
* fix: 跳转路由新增标签页 * fix: 跳转路由新增标签页兼容 * perf: 删除取消watch监听
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";
|
||||
|
||||
Reference in New Issue
Block a user