mirror of
https://github.com/rustfs/console.git
synced 2026-09-24 16:30:56 +08:00
Update language-switcher.vue
This commit is contained in:
@@ -29,11 +29,15 @@ const options = ref<DropdownOption[]>([
|
||||
{
|
||||
label: '中文',
|
||||
key: 'zh'
|
||||
},
|
||||
{
|
||||
label: 'Türkçe',
|
||||
key: 'tr'
|
||||
}
|
||||
])
|
||||
|
||||
const handleSelect = async (key: string) => {
|
||||
await setLocale(key as 'en' | 'zh')
|
||||
await setLocale(key as 'en' | 'zh' | 'tr')
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user