|
@@ -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;
|
|
|
|