mo 1 年之前
父節點
當前提交
e0a364e3e8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;