调试未读人数

This commit is contained in:
2024-04-09 11:32:54 +08:00
parent ba1817583d
commit e3390db414
3 changed files with 16 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ Page({
return false;
}
this.init()
getDot();
this.getUnReadNumber()
},
async init() {
const result = await getUserInfo();
@@ -67,6 +67,17 @@ Page({
this.setData({ user: result.data })
wx.setStorageSync('user', result.data)
},
async getUnReadNumber() {
const dot = await getDot();
this.setData({
dot
})
},
bindTenement() {
wx.navigateTo({
url: '/pages/handleLogin/index',
})
},
connect() {
Dialog.alert({
title: '提示',