From 71aa3594123830de96854682fa84a4188985ad64 Mon Sep 17 00:00:00 2001 From: Jeremy-Z Date: Wed, 20 May 2026 15:36:00 -0400 Subject: [PATCH] Addressed some code review recommendations. --- src/router/index.js | 2 ++ 1 file changed, 2 insertions(+) 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; } }