Compare commits
No commits in common. "4ad08db84650158108a65844c06e01895db59964" and "f7b847833760ed2c19424b9030d1b00f9f985957" have entirely different histories.
4ad08db846
...
f7b8478337
@ -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