fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user