diff --git a/src/router/index.js b/src/router/index.js index e0f34881..f6345aa6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -80,6 +80,7 @@ const routes = [ } catch ( error ) { window.top.location = '/static/error/index.html'; + return null; } if (routeData[0].name.toLowerCase() === 'error') { @@ -97,6 +98,7 @@ const routes = [ } catch ( error ) { window.top.location = '/static/error/index.html'; + return null; } }