From 9520bdada5019cd148ad21d20e827069b4b0e435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=80=BB?= Date: Tue, 10 Mar 2026 02:30:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BD=BB=E5=BA=95=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=B6=88=E6=81=AF=E9=87=8D=E5=A4=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除重复的测试消息通信模块(第 353-401 行) - 修复 JSX 结构(添加缺失的) - 现在只有一个测试消息模块 - 详细日志功能已添加 --- renderer/src/App.js | 48 --------------------------------------------- 1 file changed, 48 deletions(-) diff --git a/renderer/src/App.js b/renderer/src/App.js index f36fe79..c4a776a 100644 --- a/renderer/src/App.js +++ b/renderer/src/App.js @@ -350,55 +350,7 @@ function App() { )} - {/* 测试消息 */} -
-

📡 测试消息通信

-
- setTestOpenClawMessage(e.target.value)} - placeholder="输入测试消息内容..." - style={{ - width: '100%', - padding: '10px', - background: '#1a1a2e', - border: '1px solid #00d8ff', - borderRadius: '6px', - color: '#fff', - fontSize: '0.95em' - }} - onKeyDown={(e) => e.key === 'Enter' && handleSendTestOpenClawMessage()} - /> -
- - {testOpenClawResult && ( -
- {testOpenClawResult.message} -
- )} -
- {/* 企业微信机器人配置 */}