mo 1 year ago
parent
commit
e0a364e3e8
1 changed files with 1 additions and 1 deletions
  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;