fix(web): chat loading fix

This commit is contained in:
zhaoying
2026-03-04 18:05:54 +08:00
parent 91d20f7272
commit 8aad8faae9

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing * @Author: ZhaoYing
* @Date: 2026-02-03 16:27:39 * @Date: 2026-02-03 16:27:39
* @Last Modified by: ZhaoYing * @Last Modified by: ZhaoYing
* @Last Modified time: 2026-03-03 14:21:54 * @Last Modified time: 2026-03-04 18:05:36
*/ */
/** /**
* Chat debugging component for application testing * Chat debugging component for application testing
@@ -217,6 +217,8 @@ const Chat: FC<ChatProps> = ({ chatList, data, updateChatList, handleSave, sourc
} }
} }
if (!isCanSend) { if (!isCanSend) {
setLoading(false)
setCompareLoading(false)
return return
} }
runCompare(data.app_id, { runCompare(data.app_id, {