Skip to content

Commit

Permalink
✏️ fix: delete console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLY-yours committed Jul 10, 2024
1 parent 11f7ed1 commit 15cc22f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/ProChat/mocks/streamResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export class MockResponse {
setTimeout(() => {
if (this.error) {
const errorResponseOptions = { status: 500, statusText: 'Internal Server Error' };

// 返回模拟的网络错误响应,这里我们使用500状态码作为示例
resolve(new Response(null, errorResponseOptions));
} else {
Expand Down
5 changes: 0 additions & 5 deletions src/ProChat/store/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,11 +501,6 @@ export const chatAction: StateCreator<ChatStore, [['zustand/devtools', never]],
resolve();
return;
}

console.log('mixRequestResponse', mixRequestResponse);

console.log('outputQueue', outputQueue);

isAnimationActive = true;

const updateText = () => {
Expand Down
2 changes: 0 additions & 2 deletions src/ProChat/store/reducers/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ export const messagesReducer = (

// 遍历 rest 对象并更新 message 对象
for (const [restKey, restValue] of Object.entries(rest)) {
console.log('restKey', restKey, restValue);

message[restKey] = restValue;
}

Expand Down

0 comments on commit 15cc22f

Please sign in to comment.