Addressed some code review recommendations.
This commit is contained in:
parent
a37020341f
commit
71aa359412
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue