From 66da888d35816d37a59e33a4485bb9507abf3e25 Mon Sep 17 00:00:00 2001 From: qian Date: Tue, 4 Aug 2026 22:54:45 +0800 Subject: [PATCH] =?UTF-8?q?improve(ui):=E5=9C=A8=E7=BA=BF=E4=BD=93?= =?UTF-8?q?=E9=AA=8C=E5=8A=9F=E8=83=BD=E5=9C=A8=E5=A4=A7=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=9B=9E=E5=A4=8D=E6=97=B6=E5=85=81=E8=AE=B8=E8=BE=93=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/tenant/src/views/service/playground/ChatTab.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/tenant/src/views/service/playground/ChatTab.vue b/web/tenant/src/views/service/playground/ChatTab.vue index eda5b43..dad88be 100644 --- a/web/tenant/src/views/service/playground/ChatTab.vue +++ b/web/tenant/src/views/service/playground/ChatTab.vue @@ -246,7 +246,7 @@ async function sendStream(requestBody: Record, assistantIdx: number async function sendMessage() { const content = inputMessage.value.trim() - if (!content || !selectedModel.value) return + if (!content || !selectedModel.value || sending.value) return if (params.systemPrompt && messages.value.length === 0) { messages.value.push({ role: 'system', content: params.systemPrompt }) @@ -434,7 +434,7 @@ function clearChat() {
-