refactor(webui): 移除冗余的手动保存按钮喵,通用设置改为 debounce 自动保存喵 (#83)

* refactor(webui): 移除冗余的手动保存按钮喵,通用设置改为 debounce 自动保存喵

* fix(webui): 修复保存按钮状态喵,允许在自动保存时手动触发喵
This commit is contained in:
ikun两年半 authored and GitHub committed 2026-06-04 18:03:17 +08:00
1 parent 0cc7ef2f30
commit 34ea2ce438
2 files changed
+32 -25

No files matched your search

@@ -1,7 +1,7 @@
// "通用设置" tab — fields that apply to the whole OneBotInstance rather
// than any specific adapter: the music-sign service URL and the built-in
// `#sl` status command. Edits here mark the config dirty and are persisted
// via the page's explicit top-right 保存 (a continuously-edited surface).
// `#sl` status command. Edits here mark the config dirty and are
// auto-saved with debounce by the parent ConfigPage.
import { Input } from '@/components/ui/input';
import { Label } from '@/components/ui/label';