配置语言
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
>
|
||||
<template #header="{ close }">
|
||||
<div class="setting-header">
|
||||
<div class="title">Setting</div>
|
||||
<div class="title">{{ $t('Home.setting') }}</div>
|
||||
<span class="close" @click="close">
|
||||
<svg-icon name="close" size="10" color="#000" />
|
||||
</span>
|
||||
@@ -56,9 +56,9 @@
|
||||
|
||||
const nav = ref('setting')
|
||||
const navs = shallowRef([
|
||||
{ icon: 'setting', label: 'General', component: General },
|
||||
{ icon: 'profile', label: 'Profile', component: Profile },
|
||||
{ icon: 'learn-more', label: 'Learn more', component: LearnMore }
|
||||
{ icon: 'setting', label: $t('Home.general'), component: General },
|
||||
{ icon: 'profile', label: $t('Home.profile'), component: Profile },
|
||||
{ icon: 'learn-more', label: $t('Home.learnMore'), component: LearnMore }
|
||||
])
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user