Преглед на файлове

Merge branch 'startLogin'

mo преди 1 година
родител
ревизия
e5a1cd2725
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/components/RouterError/index.tsx

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

@@ -35,7 +35,7 @@ export default defineComponent({
     router.beforeEach(async (to, from, next) => {
       const flag =  await versionCheck()
         if(flag){
-          checkNewVersion()
+
             sessionStorage.setItem('isRouter','true')
             showModalMask.value = true
             setTimeout(()=>{
@@ -94,6 +94,7 @@ export default defineComponent({
 
 
     const reloadPage = ()=>{
+      checkNewVersion()
       window.location.reload();
     }