mo před 1 rokem
rodič
revize
e0a364e3e8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      index.html

+ 1 - 1
index.html

@@ -194,7 +194,7 @@
       const isChromeError = (error) => {
         console.log('onError刷新isChromeError', error);
         const str = error.message + '';
-        const isChunkLoadFailed = str.indexOf('imported');
+        const isChunkLoadFailed = str.indexOf('imported') || str.indexOf('Expected');
         if (isChunkLoadFailed != -1 && !refreshing) {
           refreshing = true;