新增多语言设置

This commit is contained in:
lyswhut
2020-02-19 20:41:34 +08:00
parent a17ba9f62c
commit b8f15bcca9
77 changed files with 1066 additions and 296 deletions
+1
View File
@@ -55,6 +55,7 @@ export default {
}),
},
created() {
this.$i18n.locale = this.setting.langId
this.saveSetting = throttle(n => {
window.electronStore_config.set('setting', n)
})