Update current route state for unhandled routes in app router
This commit is contained in:
@@ -123,6 +123,10 @@ class AppRouter {
|
||||
});
|
||||
} else {
|
||||
console.info('[appRouter] "%s" route not found', normalizedPath, location);
|
||||
this.currentRouteInfo = {
|
||||
route: {},
|
||||
path: normalizedPath + location.search
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user