mo 1 year ago
parent
commit
412513af72
1 changed files with 2 additions and 1 deletions
  1. 2 1
      index.html

+ 2 - 1
index.html

@@ -191,11 +191,12 @@
         window.location.reload();
       }
       const isChromeError = (error) => {
+        console.log('onError刷新isChromeError', error);
         const str = error.message + '';
         const isChunkLoadFailed = str.indexOf('imported');
         if (isChunkLoadFailed != -1 && !refreshing) {
           refreshing = true;
-          console.log('onError刷新isChromeError');
+
           sessionStorage.setItem('isRouter', 'true')
           reloadPage()
           // showModalMask.value = true;