diff --git a/pages/chat/chat.nvue b/pages/chat/chat.nvue index f9f006c2065d47f34e619687c3cb52468cebfca0..33cebf9ef906a0aba1fc736eccc82cf2a9a8d09a 100644 --- a/pages/chat/chat.nvue +++ b/pages/chat/chat.nvue @@ -606,13 +606,13 @@ if(this.isWidescreen || this.watchChatInputContentDisabled === true){ return } - console.log('chatInputContent',newValue,oldValue); + // console.log('chatInputContent',newValue,oldValue); // 截流调用 chatInputContentAfter 方法 if(this.doChatInputContentAfter){ clearTimeout(this.doChatInputContentAfter) } this.doChatInputContentAfter = setTimeout(() => { - console.error('chatInputContent#6'); + // console.error('chatInputContent#6'); this.lockDoChatInputContentAfter = false this.chatInputContentAfter(newValue, oldValue) }, 300); @@ -692,7 +692,7 @@ // #endif }, chatInputContentAfter(newValue, oldValue){ - console.log('chatInputContentAfter',newValue,oldValue); + // console.log('chatInputContentAfter',newValue,oldValue); currentCursor = -1 // 先找到字符不同的位置,即为光标操作时的位置 for (let i = 0; i < newValue.length; i++) { @@ -707,7 +707,7 @@ // console.log('cursor光标的位置',currentCursor,newValue,'newValue'); let isAdd = newValue.length > oldValue.length let changeValue = isAdd ? newValue[currentCursor] : oldValue[currentCursor] - console.log('changeValue变化的内容',changeValue); + // console.log('changeValue变化的内容',changeValue); if(changeValue == '@'){ this.showAboutUidBox = isAdd if(isAdd){