This commit is contained in:
X1627315083
2025-09-15 13:35:03 +08:00
parent e3dae9e640
commit 64a96a0cff

View File

@@ -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