style: 布局多语言

This commit is contained in:
TsMask
2023-11-10 10:03:37 +08:00
parent b41d3c3882
commit e4b504825d
4 changed files with 53 additions and 11 deletions

View File

@@ -50,7 +50,7 @@ function fnChangeLocale(e: any) {
</a-button>
<a-tooltip>
<template #title>全屏显示</template>
<template #title>{{ t('loayouts.rightContent.fullscreen') }}</template>
<a-button type="text" @click="toggle">
<template #icon>
<FullscreenExitOutlined v-if="isFullscreen()" />
@@ -90,20 +90,20 @@ function fnChangeLocale(e: any) {
<template #icon>
<UserOutlined />
</template>
<span>个人中心</span>
<span>{{ t('loayouts.rightContent.profile') }}</span>
</a-menu-item> -->
<a-menu-item key="settings">
<template #icon>
<SettingOutlined />
</template>
<span>个人设置</span>
<span>{{ t('loayouts.rightContent.settings') }}</span>
</a-menu-item>
<a-menu-divider />
<a-menu-item key="logout">
<template #icon>
<LogoutOutlined />
</template>
<span>退出登录</span>
<span>{{ t('loayouts.rightContent.logout') }}</span>
</a-menu-item>
</a-menu>
</template>