注释无关变量
This commit is contained in:
parent
d8b72ef190
commit
25f4bc6923
@ -142,13 +142,14 @@ 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
|
||||
}
|
||||
})
|
||||
}
|
||||
// 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)
|
||||
},
|
||||
{ deep: true, immediate: true }
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user