Compare commits
No commits in common. "6d663d3d0187dea275d36f7e535c7be21c6499d7" and "1edb639ad9e5eab8dae4c3bbef1e04a11b88d9f4" have entirely different histories.
6d663d3d01
...
1edb639ad9
@ -108,8 +108,8 @@ export function useSessionMenu() {
|
|||||||
|
|
||||||
const onUserInfo = (item: ISession) => {
|
const onUserInfo = (item: ISession) => {
|
||||||
console.error('item',item)
|
console.error('item',item)
|
||||||
|
debugger
|
||||||
user(item.id)
|
user(item.receiver_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 移除会话
|
// 移除会话
|
||||||
|
@ -298,6 +298,13 @@ const items = computed((): ISession[] => {
|
|||||||
|
|
||||||
return [...topItems, ...normalItems]
|
return [...topItems, ...normalItems]
|
||||||
})
|
})
|
||||||
|
watch(
|
||||||
|
() => talkStore,
|
||||||
|
(newValue, oldValue) => {
|
||||||
|
// console.log(newValue)
|
||||||
|
},
|
||||||
|
{ deep: true, immediate: true }
|
||||||
|
)
|
||||||
watch(
|
watch(
|
||||||
() => state.addressBookSearchNickName,
|
() => state.addressBookSearchNickName,
|
||||||
(newValue, oldValue) => {
|
(newValue, oldValue) => {
|
||||||
|
@ -324,14 +324,13 @@ const retry=(item:any)=>{
|
|||||||
}
|
}
|
||||||
|
|
||||||
const onContextMenuAvatar=(e:any,item:any)=>{
|
const onContextMenuAvatar=(e:any,item:any)=>{
|
||||||
|
console.log('item',item)
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
if(item.float!=='right'){
|
|
||||||
bus.emit(EditorConst.Mention, {
|
bus.emit(EditorConst.Mention, {
|
||||||
id: item.user_id,
|
id: item.user_id,
|
||||||
value: item.nickname
|
value: item.nickname
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user