Compare commits
No commits in common. "1956bb05ef621931b12a133b0fffd56f0a5b5189" and "0b634e8cdd291048e30c5c4919f165525a37860a" have entirely different histories.
1956bb05ef
...
0b634e8cdd
@ -142,14 +142,13 @@ watch(
|
||||
() => talkParams,
|
||||
(newValue, oldValue) => {
|
||||
// 判断是否为好友
|
||||
// if (talkParams.type !== 2) {
|
||||
// ServeCheckFriend({ receiver_id: newValue.receiver_id, talk_type: 1 }).then((res) => {
|
||||
// if (res?.code === 200) {
|
||||
// isFriend.value = res.data.is_friend
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
console.log(newValue)
|
||||
if (talkParams.type !== 2) {
|
||||
ServeCheckFriend({ receiver_id: newValue.receiver_id, talk_type: 1 }).then((res) => {
|
||||
if (res?.code === 200) {
|
||||
isFriend.value = res.data.is_friend
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
{ deep: true, immediate: true }
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user