mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
perf: wangeditor
This commit is contained in:
@@ -34,7 +34,8 @@ const {
|
||||
pureApp,
|
||||
username,
|
||||
avatarsStyle,
|
||||
getDropdownItemStyle
|
||||
getDropdownItemStyle,
|
||||
changeWangeditorLanguage
|
||||
} = useNav();
|
||||
|
||||
let defaultActive = ref(null);
|
||||
@@ -60,6 +61,9 @@ watch(
|
||||
() => locale.value,
|
||||
() => {
|
||||
changeTitle(route.meta);
|
||||
locale.value === "en"
|
||||
? changeWangeditorLanguage(locale.value)
|
||||
: changeWangeditorLanguage("zh-CN");
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user