Remove console.log statements
This commit is contained in:
parent
991cb76fdc
commit
21bb9d60b1
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user