迁移聊天动作选择入口

This commit is contained in:
2026-04-25 19:52:03 +08:00
parent 17d1885efc
commit f0269c7c17
3 changed files with 33 additions and 14 deletions
@@ -1743,18 +1743,6 @@
}
});
// ── 动作选择 ──────────────────────────────────────
/**
* 设置发言动作并聚焦输入框
*
* @param {string} act 动作名称
*/
function setAction(act) {
document.getElementById('action').value = act;
switchTab('users');
document.getElementById('content').focus();
}
// ── 自动滚屏 ──────────────────────────────────────
const autoScrollEl = document.getElementById('auto_scroll');
if (autoScrollEl) {