From 0312919ad5aa63330480cd110e9d683dead58794 Mon Sep 17 00:00:00 2001 From: sam Date: Sat, 18 Oct 2025 10:47:49 +0800 Subject: [PATCH] add restart warning to settings configuration page --- app/ui/views/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/ui/views/settings.py b/app/ui/views/settings.py index 98ebd22..5ca7468 100644 --- a/app/ui/views/settings.py +++ b/app/ui/views/settings.py @@ -90,6 +90,10 @@ def render_config_overview() -> None: LOGGER.info("渲染配置概览页", extra=LOG_EXTRA) cfg = get_config() + st.warning( + "本页配置项保存后需重启服务才能生效;运行中的数据任务请在重启后再执行。", + icon="⚠️", + ) st.subheader("核心配置概览") col1, col2, col3 = st.columns(3)