auto-save 2026-05-11 17:39 (~4)
This commit is contained in:
13
src/app.js
13
src/app.js
@@ -644,16 +644,21 @@ function switchTab(name, options = {}) {
|
||||
}
|
||||
if (name === "cron") refreshCron();
|
||||
if (name === "memory") refreshMemory();
|
||||
if (name === "tools") refreshTools();
|
||||
if (name === "integrations") refreshFeishuApps();
|
||||
if (name === "settings") {
|
||||
renderWeeklyReports();
|
||||
if (name === "models") {
|
||||
renderModelProfiles();
|
||||
refreshUiConfig().catch((error) => {
|
||||
setSharedConfigStatus("共享配置读取失败: " + (error.message || error), true);
|
||||
});
|
||||
refreshHermesConfig();
|
||||
}
|
||||
if (name === "tools") {
|
||||
refreshTools();
|
||||
refreshHermesConfig();
|
||||
}
|
||||
if (name === "integrations") refreshFeishuApps();
|
||||
if (name === "settings") {
|
||||
renderWeeklyReports();
|
||||
}
|
||||
if (name === "runs") setTimeout(() => document.getElementById("runPrompt")?.focus(), 50);
|
||||
if (name === "dashboard" && _dashboardDirty) {
|
||||
// 推迟到下一帧,避免阻塞切换动画
|
||||
|
||||
Reference in New Issue
Block a user