mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 20:28:45 +08:00 
			
		
		
		
	【解决todo】对话中不能清楚 chat 消息
This commit is contained in:
		@@ -198,7 +198,11 @@ const handlerConversationDelete = async (delConversation: ChatConversationVO) =>
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
/** 清空选中的对话 */
 | 
					/** 清空选中的对话 */
 | 
				
			||||||
const handleConversationClear = async () => {
 | 
					const handleConversationClear = async () => {
 | 
				
			||||||
  // TODO @fan:需要加一个 对话进行中,不允许切换
 | 
					  // 对话进行中,不允许切换
 | 
				
			||||||
 | 
					  if (conversationInProgress.value) {
 | 
				
			||||||
 | 
					    message.alert('对话中,不允许切换!')
 | 
				
			||||||
 | 
					    return false
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
  activeConversationId.value = null
 | 
					  activeConversationId.value = null
 | 
				
			||||||
  activeConversation.value = null
 | 
					  activeConversation.value = null
 | 
				
			||||||
  activeMessageList.value = []
 | 
					  activeMessageList.value = []
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user