fix(工作台): 组织下无项目消息未读数量接口报错问题

--bug=1049058 --user=宋昌昌 【工作台】我创建的标签-切换组织-组织下无项目-点击各菜单报无权限 https://www.tapd.cn/55049933/s/1613238
This commit is contained in:
song-cc-rock 2024-11-20 17:25:16 +08:00 committed by 刘瑞斌
parent dec08c201e
commit 3fe052fcc2
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@
const unReadCount = ref<number>(0);
async function checkMessageRead() {
if (appStore.currentProjectId) {
if (appStore.currentProjectId && appStore.currentProjectId !== 'no_such_project') {
unReadCount.value = await getMessageUnReadCount(appStore.currentProjectId);
}
}