Revert "修复审批请求在聊天中无提示且无法响应 (#467)" (#553)

This reverts commit 56c7b59eaf.
This commit is contained in:
ekko
2026-05-09 08:36:13 +08:00
committed by GitHub
parent 56c7b59eaf
commit 9045f2a987
12 changed files with 9 additions and 767 deletions
@@ -195,7 +195,7 @@ function handleDrop(e: DragEvent) {
function handleSend() {
const text = inputText.value.trim()
if (!canSend.value) return
if (!text && attachments.value.length === 0) return
chatStore.sendMessage(text, attachments.value.length > 0 ? attachments.value : undefined)
inputText.value = ''