From 3fe052fcc22acec37c274e9592938fd0b23823c2 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Wed, 20 Nov 2024 17:25:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20=E7=BB=84?= =?UTF-8?q?=E7=BB=87=E4=B8=8B=E6=97=A0=E9=A1=B9=E7=9B=AE=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E6=9C=AA=E8=AF=BB=E6=95=B0=E9=87=8F=E6=8E=A5=E5=8F=A3=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1049058 --user=宋昌昌 【工作台】我创建的标签-切换组织-组织下无项目-点击各菜单报无权限 https://www.tapd.cn/55049933/s/1613238 --- frontend/src/components/pure/navbar/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/pure/navbar/index.vue b/frontend/src/components/pure/navbar/index.vue index e9b84ee82e..e502d3d7d2 100644 --- a/frontend/src/components/pure/navbar/index.vue +++ b/frontend/src/components/pure/navbar/index.vue @@ -221,7 +221,7 @@ const unReadCount = ref(0); async function checkMessageRead() { - if (appStore.currentProjectId) { + if (appStore.currentProjectId && appStore.currentProjectId !== 'no_such_project') { unReadCount.value = await getMessageUnReadCount(appStore.currentProjectId); } }