Remove console.log statements

This commit is contained in:
小石头 2024-02-08 11:32:53 +08:00
parent 991cb76fdc
commit 21bb9d60b1

View File

@ -68,7 +68,7 @@ const chatPanel = observer(() => {
const gap = sh - vh - y; const gap = sh - vh - y;
const isBottom = sh < vh ? true : gap < 100; const isBottom = sh < vh ? true : gap < 100;
const isTop = y === 0; const isTop = y === 0;
// console.log(`sh:${sh},vh:${vh},x:${x},y:${y},gap:${gap}`); //
if (isBottom) { if (isBottom) {
chat.onMessagesBottom(); chat.onMessagesBottom();
} else if (isTop) { } else if (isTop) {
@ -89,7 +89,6 @@ const chatPanel = observer(() => {
messageUtil.registerHandler( messageUtil.registerHandler(
"regCommandList", "regCommandList",
(message: { result: Item[] }) => { (message: { result: Item[] }) => {
console.log("regCommandList message: ", message);
input.fetchCommandMenus(message.result); input.fetchCommandMenus(message.result);
} }
); );
@ -149,7 +148,6 @@ const chatPanel = observer(() => {
messageUtil.registerHandler( messageUtil.registerHandler(
"getSetting", "getSetting",
(message: { value: string; key2: string }) => { (message: { value: string; key2: string }) => {
console.log("message: ", message);
if (message.key2 === "defaultModel") { if (message.key2 === "defaultModel") {
chat.changeChatModel(message.value); chat.changeChatModel(message.value);
} }