mo před 1 rokem
rodič
revize
412513af72
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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;