组织成员邀请等新消息没有在消息图标上体现
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, onBeforeUnmount,computed } from 'vue';
|
||||
import { ref, onMounted, onBeforeUnmount,computed,watch } from 'vue';
|
||||
import { getMessageCount } from '@/api/notice';
|
||||
import { addEventListener, offEvent } from '@/utils/eventBus';
|
||||
import debounce from 'lodash/debounce';
|
||||
@@ -24,7 +24,7 @@ const getCounts = () => {
|
||||
};
|
||||
|
||||
const totalUnreadCount = computed(() => {
|
||||
return (accountInfo.value.noticeUnreadNum || 0) + (accountInfo.value.inviteNum || 0)
|
||||
return (accountInfo.value.data.noticeUnreadNum || 0) + (accountInfo.value.data.inviteNum || 0)
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user