feat(web): require login only for candidates and system

This commit is contained in:
kairee committed 2026-11-01 03:09:21 +08:00
1 parent 55c40db047
commit 6aefe9ce87
6 files changed
+130 -32

No files matched your search

+4
View File
@@ -125,6 +125,10 @@ async function render(options = {}) {
finishRender();
return;
}
if (matched.route.beforeEnter && matched.route.beforeEnter() === false) {
finishRender();
return;
}
current = { path, query, route: matched.route };
for (const listener of listeners) {
try {