fix: update

This commit is contained in:
xiaoxian521
2022-07-27 21:10:36 +08:00
parent c7955bcc19
commit 0d4fe313b4
9 changed files with 175 additions and 169 deletions

View File

@@ -3,7 +3,7 @@ import { useI18n } from "vue-i18n";
import { useRoute } from "vue-router";
import { watch, getCurrentInstance } from "vue";
export default function useTranslationLang() {
export function useTranslationLang() {
const { changeTitle, changeWangeditorLanguage } = useNav();
const { locale, t } = useI18n();
const route = useRoute();