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