Commit e4a7ba8c3167a27cf92a18eff11794b7214d13ce

Authored by fengtao
1 parent 51431f90

refactor DEFECT-494 优化平台logo点击就可以预览

1 1 <template>
2 2 <div class="anticon" :class="getAppLogoClass" @click="goHome">
3   - <img v-if="getLogo" :src="getLogo" />
4   - <img v-else src="/src/assets/images/logo.png" />
  3 + <Image v-if="getLogo" :src="getLogo" />
  4 + <Image v-else src="/src/assets/images/logo.png" />
5 5 <div class="ml-2 truncate md:opacity-100" :class="getTitleClass" v-show="showTitle">
6 6 {{ getTitle }}
7 7 </div>
... ... @@ -13,6 +13,8 @@
13 13 import { useMenuSetting } from '/@/hooks/setting/useMenuSetting';
14 14 import { useDesign } from '/@/hooks/web/useDesign';
15 15 import { useUserStore } from '/@/store/modules/user';
  16 + import { Image } from 'ant-design-vue';
  17 +
16 18 const props = defineProps({
17 19 /**
18 20 * The theme of the current parent component
... ...