chore: Refresh page when switch light/dark mode to avoid dropdown issue

This commit is contained in:
Robin Shen 2025-11-17 20:50:28 +08:00
parent 13d9281484
commit 682620965c

View File

@ -145,6 +145,7 @@ public abstract class BasePage extends WebPage {
cookie.setPath("/");
cookie.setMaxAge(Integer.MAX_VALUE);
response.addCookie(cookie);
setResponsePage(getPageClass(), getPageParameters());
}
@Override