fix: 多语言切换隐藏,导致无法切换主题色
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user