mo 1 год назад
Родитель
Сommit
412513af72
1 измененных файлов с 2 добавлено и 1 удалено
  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;