This commit is contained in:
2022-02-18 17:45:52 +08:00
parent a290ad8df8
commit ae7b9ead46
3 changed files with 29 additions and 25 deletions

View File

@@ -85,18 +85,18 @@
},
// 新朋友
toPending() {
if (this.pendingCount > 0) {
// if (this.pendingCount > 0) {
uni.navigateTo({
url: '/pages/im/friends/pending'
});
} else {
uni.showToast({
title: ` 暂无好友申请 ~ `,
icon: "none",
mask: true,
duration: 3000
})
}
// } else {
// uni.showToast({
// title: ` 暂无好友申请 ~ `,
// icon: "none",
// mask: true,
// duration: 3000
// })
// }
}
},
onNavigationBarButtonTap(e) {