注释无关变量
This commit is contained in:
parent
d8b72ef190
commit
25f4bc6923
@ -142,13 +142,14 @@ watch(
|
|||||||
() => talkParams,
|
() => talkParams,
|
||||||
(newValue, oldValue) => {
|
(newValue, oldValue) => {
|
||||||
// 判断是否为好友
|
// 判断是否为好友
|
||||||
if (talkParams.type !== 2) {
|
// if (talkParams.type !== 2) {
|
||||||
ServeCheckFriend({ receiver_id: newValue.receiver_id, talk_type: 1 }).then((res) => {
|
// ServeCheckFriend({ receiver_id: newValue.receiver_id, talk_type: 1 }).then((res) => {
|
||||||
if (res?.code === 200) {
|
// if (res?.code === 200) {
|
||||||
isFriend.value = res.data.is_friend
|
// isFriend.value = res.data.is_friend
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
|
console.log(newValue)
|
||||||
},
|
},
|
||||||
{ deep: true, immediate: true }
|
{ deep: true, immediate: true }
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user