Merge branch 'master' of http://git.luyuan.tk/luyuan/beelink into xbx

This commit is contained in:
2020-10-29 10:11:30 +08:00
9 changed files with 120 additions and 39 deletions

View File

@@ -13,6 +13,7 @@ const createI18n = (config: Config) => ({
locale: ref(config.locale),
messages: config.messages,
$t(key: string) {
console.log(key)
return this.messages[this.locale.value][key];
},
$s(){