fix: 多语言切换隐藏,导致无法切换主题色

This commit is contained in:
TsMask
2024-11-08 16:03:33 +08:00
parent 5614be7877
commit df7c455881

View File

@@ -284,13 +284,8 @@ function fnChangeLocale(e: any) {
{{ t('views.login.loginBtn') }} {{ t('views.login.loginBtn') }}
</a-button> </a-button>
<a-row <a-row justify="end" align="middle" style="margin-top: 18px">
justify="space-between" <a-col :span="3">
align="middle"
style="margin-top: 18px"
v-if="appStore.i18nOpen"
>
<a-col :offset="18" :span="3">
<a-tooltip placement="bottomRight"> <a-tooltip placement="bottomRight">
<template #title>{{ t('loayouts.rightContent.theme') }}</template> <template #title>{{ t('loayouts.rightContent.theme') }}</template>
<a-button type="text" @click="fnClickTheme"> <a-button type="text" @click="fnClickTheme">
@@ -305,9 +300,9 @@ function fnChangeLocale(e: any) {
</a-button> </a-button>
</a-tooltip> </a-tooltip>
</a-col> </a-col>
<a-col :span="3"> <a-col :span="3" v-if="appStore.i18nOpen">
<a-dropdown trigger="click" placement="bottomRight"> <a-dropdown trigger="click" placement="bottomRight">
<a-button size="small" type="default"> <a-button type="text">
<template #icon> <TranslationOutlined /> </template> <template #icon> <TranslationOutlined /> </template>
</a-button> </a-button>
<template #overlay> <template #overlay>