Browse Source

修复未读消息显示bug

master
xsx 2 years ago
parent
commit
d385e21da6
  1. 5
      im-uniapp/pages/chat/chat.vue

5
im-uniapp/pages/chat/chat.vue

@ -83,7 +83,8 @@
}) })
} else { } else {
uni.removeTabBarBadge({ uni.removeTabBarBadge({
index: 0 index: 0,
complete:()=>{}
}) })
} }
@ -103,7 +104,7 @@
this.refreshUnreadBadge(); this.refreshUnreadBadge();
} }
}, },
onLoad() { onShow() {
this.refreshUnreadBadge(); this.refreshUnreadBadge();
} }
} }

Loading…
Cancel
Save