fix: changelanguages failed

This commit is contained in:
lsewcx 2024-07-13 13:28:32 +08:00
parent e454a2cf9f
commit b429ae61e2

View File

@ -73,9 +73,7 @@ export default {
},
methods: {
setLocale(lang) {
if (i18next.languages.includes(lang)) {
i18next.changeLanguage(lang);
}
i18next.changeLanguage(lang);
},
onKeyDown(event) {
if (event.key === "Escape") {