|
@@ -4,7 +4,8 @@
|
|
|
-->
|
|
-->
|
|
|
<template>
|
|
<template>
|
|
|
<div class="anticon" :class="getAppLogoClass" @click="goHome">
|
|
<div class="anticon" :class="getAppLogoClass" @click="goHome">
|
|
|
- <img src="../../../assets/images/grey-logo.png" />
|
|
|
|
|
|
|
+ <img v-if="locale == 'en'" src="../../../assets/images/logo-en.png" />
|
|
|
|
|
+ <img v-else src="../../../assets/images/grey-logo.png" />
|
|
|
<!-- <div class="ml-2 truncate md:opacity-100" :class="getTitleClass" v-show="showTitle">
|
|
<!-- <div class="ml-2 truncate md:opacity-100" :class="getTitleClass" v-show="showTitle">
|
|
|
{{ title }}
|
|
{{ title }}
|
|
|
</div> -->
|
|
</div> -->
|
|
@@ -18,6 +19,7 @@
|
|
|
import { useDesign } from '/@/hooks/web/useDesign';
|
|
import { useDesign } from '/@/hooks/web/useDesign';
|
|
|
import { PageEnum } from '/@/enums/pageEnum';
|
|
import { PageEnum } from '/@/enums/pageEnum';
|
|
|
import { useUserStore } from '/@/store/modules/user';
|
|
import { useUserStore } from '/@/store/modules/user';
|
|
|
|
|
+ import { useI18n } from '/@/hooks/web/useI18n';
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
/**
|
|
/**
|
|
@@ -38,6 +40,7 @@
|
|
|
const { getCollapsedShowTitle } = useMenuSetting();
|
|
const { getCollapsedShowTitle } = useMenuSetting();
|
|
|
const userStore = useUserStore();
|
|
const userStore = useUserStore();
|
|
|
const { title } = useGlobSetting();
|
|
const { title } = useGlobSetting();
|
|
|
|
|
+ const { locale } = useI18n();
|
|
|
const go = useGo();
|
|
const go = useGo();
|
|
|
|
|
|
|
|
const getAppLogoClass = computed(() => [
|
|
const getAppLogoClass = computed(() => [
|