mo 1 年間 前
コミット
ff7052a954
1 ファイル変更2 行追加1 行削除
  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();