fix: 国际化切换选择控件根据配置隐藏
This commit is contained in:
@@ -5,8 +5,10 @@ import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
||||
import { TOKEN_RESPONSE_FIELD } from '@/constants/token-constants';
|
||||
import { getToken, setToken } from '@/plugins/auth-token';
|
||||
import { bootloaderStart } from '@/api/system/quick-start/bootloader';
|
||||
import useI18n from '@/hooks/useI18n';
|
||||
import { fnToStepName } from '../hooks/useStep';
|
||||
import useI18n from '@/hooks/useI18n';
|
||||
import useAppStore from '@/store/modules/app';
|
||||
const appStore = useAppStore();
|
||||
const { t, changeLocale, optionsLocale } = useI18n();
|
||||
const router = useRouter();
|
||||
|
||||
@@ -45,7 +47,7 @@ onMounted(() => {
|
||||
</a-space>
|
||||
</div>
|
||||
|
||||
<div class="ne-footer">
|
||||
<div class="ne-footer" v-if="appStore.i18nOpen">
|
||||
<a-space direction="horizontal">
|
||||
<a-dropdown trigger="click">
|
||||
<a-button size="small" type="default">
|
||||
|
||||
Reference in New Issue
Block a user