tangning %!s(int64=3) %!d(string=hai) anos
pai
achega
be2f419d23
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/state/viewAuth.js

+ 1 - 0
src/state/viewAuth.js

@@ -16,6 +16,7 @@ const setCurrentAuth = () => {
   let authParent = user.value.permission.find(item => item.resourceKey === key)
 
   if (!navs.value.some(item => item.name !== viewName) && !MUST_JOIN_NAVS.includes(viewName)) {
+    console.log('MUST_JOIN_NAVS',MUST_JOIN_NAVS,'viewName',viewName);
     router.replace({name: 'login'})
   }