mo hace 1 año
padre
commit
ff7052a954
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/components/RouterError/index.tsx

+ 2 - 1
src/components/RouterError/index.tsx

@@ -43,7 +43,8 @@ export default defineComponent({
       }
     });
     router.beforeEach(async (to, from, next) => {
-        if(await versionCheck()){
+      const flag =  await versionCheck()
+        if(flag){
           const showModalMask = ref(true)
         }
       next();