From 64a96a0cff7d731ce26d039b1f80db389ffd0802 Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Mon, 15 Sep 2025 13:35:03 +0800 Subject: [PATCH] fix --- src/views/HomeMain.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/HomeMain.vue b/src/views/HomeMain.vue index 25c5c6fe..69f3782e 100644 --- a/src/views/HomeMain.vue +++ b/src/views/HomeMain.vue @@ -349,7 +349,7 @@ export default defineComponent({ const pastDuePage = computed(()=>{ const isAllowedRoute = route.path === '/home/events' || route.path === '/home/works'; const hasNoSystemAccess = userDetail.value.systemList.indexOf(1) === -1; - return !hasNoSystemAccess && !isAllowedRoute; + return hasNoSystemAccess && !isAllowedRoute; }) watch(()=>homeMainData.userDetailLanguage,(newVal)=>{ if(locale.value == newVal || !newVal)return