优化好友和群聊新建会话逻辑。
This commit is contained in:
@@ -269,7 +269,12 @@
|
||||
|
||||
// 新建会话
|
||||
const openNewChatModal = () => {
|
||||
console.log("点击了新建会话");
|
||||
// 好友会话(1)或群聊(2)时,跳转到通讯录页面发起新聊天
|
||||
if (chatType.value === 1 || chatType.value === 2) {
|
||||
goContactPages()
|
||||
return
|
||||
}
|
||||
// AI 聊天(0)时,弹出新建会话弹窗
|
||||
emit('update:showNewChatModal', true)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user