|
@@ -5,7 +5,7 @@
|
|
|
<template>
|
|
|
<div class="anticon" :class="getAppLogoClass" @click="goHome">
|
|
|
<!-- <img src="/src/assets/images/white.png" /> -->
|
|
|
- <img :src="avatar" />
|
|
|
+ <img v-if="avatar" :src="avatar" />
|
|
|
<div
|
|
|
class="ml-2 truncate md:opacity-100"
|
|
|
style="color: rgb(38, 151, 251)"
|
|
@@ -43,7 +43,7 @@ const title = ref('');
|
|
|
const avatar = ref('');
|
|
|
onMounted(async () => {
|
|
|
title.value = localStorage.getItem('departmentName');
|
|
|
- avatar.value = localStorage.getItem('departmentRemark') || '/src/assets/images/white.png';
|
|
|
+ avatar.value = localStorage.getItem('departmentRemark') || '';
|
|
|
document.title = title.value;
|
|
|
})
|
|
|
const { prefixCls } = useDesign('app-logo');
|