refactor: 移除调试用的console.log语句
清理代码中用于调试的console.log语句,保持代码整洁
This commit is contained in:
@@ -165,7 +165,7 @@ const MessageRecord: React.FC<MessageRecordProps> = ({ contract }) => {
|
||||
);
|
||||
|
||||
// 添加调试信息
|
||||
console.log("MessageRecord - msgType:", msgType, "content:", content);
|
||||
// console.log("MessageRecord - msgType:", msgType, "content:", content);
|
||||
|
||||
// 根据msgType进行消息类型判断
|
||||
switch (msgType) {
|
||||
|
||||
@@ -199,7 +199,7 @@ export const getAllContactList = async () => {
|
||||
|
||||
allContacts = [...allContacts, ...contractList];
|
||||
|
||||
console.log(contractList.length == 0);
|
||||
// console.log(contractList.length == 0);
|
||||
|
||||
// 如果返回的数据少于请求的数量,说明已经没有更多数据了
|
||||
if (contractList.length == 0) {
|
||||
|
||||
Reference in New Issue
Block a user