fix(工作台): 组织下无项目消息未读数量接口报错问题
--bug=1049058 --user=宋昌昌 【工作台】我创建的标签-切换组织-组织下无项目-点击各菜单报无权限 https://www.tapd.cn/55049933/s/1613238
This commit is contained in:
parent
dec08c201e
commit
3fe052fcc2
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue