Skip to content

Commit

Permalink
feat: Show language
Browse files Browse the repository at this point in the history
  • Loading branch information
itchaox committed Aug 3, 2024
1 parent 4bed15c commit f3d3686
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/renderer/src/components/MainPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,10 @@ onMounted(async () => {
}
}

languageId.value = languageToUse
loadLocalStorage()

languageId.value = languageToUse
i18n.global.locale = languageId.value

loadLocalStorage()
})

// 切换语言
Expand Down

0 comments on commit f3d3686

Please sign in to comment.