fix: fix issue with install app no label (#8326)

This commit is contained in:
zhengkunwang 2025-04-07 10:47:49 +08:00 committed by GitHub
parent 3437d62f31
commit 0022a9b508
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,6 +71,9 @@ const GlobalStore = defineStore({
this.csrfToken = token;
},
updateLanguage(language: any) {
if (language === 'pt-BR') {
language = 'pt-br';
}
this.language = language;
localStorage.setItem('lang', language);
},